Results 1 to 3 of 3

Thread: Scheduled Task & AutoIt

  1. #1
    Maximum Bitrate Valheru's Avatar
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    604

    Scheduled Task & AutoIt

    I'm trying to implement an auto-theme-switcher routine using an autioit script and the windows task scheduler. the script work perfectly when you run it manually, but when its called from the task scheduler (using the DOS "AT" commands) the script stops after trying to create the RR object.

    This is the AI code snippit ...

    $rr=ObjCreate("RoadRunner.sdk")
    If Not IsObj($rr) Then
    Exit
    EndIf


    I have the "/interactive" switch added to the AT command to allow it interact with the desktop and RR is running, butfor some reason running the script as a scheduled task I cannot seem to create or access the RR SDK object ...

    Anyone able to shed some light on this ?

    Thanks
    Valheru ...
    -------------------------------
    The TEKNIK Family ... Teknik 1 & Teknik 2, Teknik T-3, Teknik v4.0, Teknik-X.

  2. #2
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    I do some autoit with the windows 2K/Xp task scheduler...not the "AT" command...
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  3. #3
    Maximum Bitrate Valheru's Avatar
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    604
    thanks chevyn8 ... I ended up going down that same route.
    -------------------------------
    The TEKNIK Family ... Teknik 1 & Teknik 2, Teknik T-3, Teknik v4.0, Teknik-X.

Similar Threads

  1. Parallel port relay control in RR using Autoit?
    By momanz in forum Road Runner
    Replies: 5
    Last Post: 04-03-2009, 09:20 AM
  2. AutoIt to RRcommand
    By tundra2000 in forum Road Runner
    Replies: 3
    Last Post: 03-27-2008, 08:21 AM
  3. Task scheduler doesn't work
    By isamu in forum General Hardware Discussion
    Replies: 6
    Last Post: 08-06-2007, 07:43 PM
  4. Thoughts on Autoit X
    By lostreception in forum Software & Software Development
    Replies: 4
    Last Post: 09-13-2006, 12:33 AM
  5. Replies: 3
    Last Post: 04-24-2006, 03:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •