I'm able to use Windows Task Scheduler (OS version is Windows 7 Enterprise) to successfully run Sikulix automation scripts when the task has the option "Run only when user is logged on", however, the same script fails if I run with the option "Run whether user is logged in or not", as the Sikuli find() function to locate objects by image recognition isn't working (supposed because Sikuli requires an active monitor for image recognition), some information I have on this are:
http://superuser.com/questions/78359/why-is-windows-7-scheduled-task-running-hidden
https://technet.microsoft.com/en-us/library/cc722152.aspx
However, I would like to have the scripts running with the "Run whether user is logged in or not" option, because with the "Run only when user is logged on" option, the scheduled scripts will not run if the user is not logged on, either remotely or locally, and this will not be possible as this machine is shared with the offshore team.
Is there a way to run Sikulix automation scripts with Windows Task Scheduler with the option "Run whether user is logged in or not"? Otherwise is there a way to successfully schedule Sikulix script runs without requiring the account scheduling the runs to always be logged on?
ASKER
I haven't tried the wake the system option, but the scripts will run with the monitor turned off, as long as the option in task manager is "Run only when the user is logged on".