jrbeall 0 Posted March 21, 2011 I have made several AutoIt scripts - and they are very helpful, however, I can't figure out how to run the scripts when I am not logged in to the computer. Is there a way to run AutoIt scripts when you are not logged in? I have tried to compile the scripts I made and use windows scheduled tasks - but that doesn't work. Share this post Link to post Share on other sites
PsaltyDS 39 Posted March 21, 2011 A scheduled task should work fine, unless the script tries to use things not available in that environment, like the desktop or active windows. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites
jrbeall 0 Posted March 21, 2011 i am using the command prompt. so i assume it would use the desktop or something like that. i didn't know autoit could run without an active window. so how could i have AutoIt do things like copy files from an ftp to a local directory on a windows machine without an active window? Share this post Link to post Share on other sites
PsaltyDS 39 Posted March 22, 2011 You can add this to the top of your script: #AutoIt3Wrapper_Change2CUI=Y But I'm not sure you even need to do that. Use task scheduler to call a batch file, and the only line in the batch file is something like this: CMD /c "C:\Full\Path\YourScript.exe" Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites