Do AutoIt scripts, executed as service, function for GUI actions?

FerranB picture FerranB · Mar 6, 2009 · Viewed 14.8k times · Source

I'm using an AutoIt script to start and automate a GUI application. I need to activate the script each hour.

Will AutoIt scripts (which perform actions on a GUI) work when used as a service? The script will be run as a service (not scheduled task).

Answer

Copas picture Copas · May 20, 2009

You can easily make an autoit script run as a service using service.au3 written by archer of the autoit forums. Unfortunately or fortunately since it is a security measure. A service needs to start independent of the current user session (before login). It cant access send APIs for input manipulation of the current user session from there. It does sound much more like you need a scheduled task and not a service.