Unable to use Task Scheduler to trigger my AHK script

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
labrint
Posts: 379
Joined: 14 Jun 2017, 05:06
Location: Malta

Unable to use Task Scheduler to trigger my AHK script

23 Jun 2021, 07:27

Hi Guys,

I'm unable to trigger my AHK to run using task scheduler at specific day time.

Run when user is logged on (selected)
Run with highest priveledges (unselected)
User avatar
mikeyww
Posts: 26877
Joined: 09 Sep 2014, 18:38

Re: Unable to use Task Scheduler to trigger my AHK script

23 Jun 2021, 09:07

What have you specified as your program and argument?
User avatar
labrint
Posts: 379
Joined: 14 Jun 2017, 05:06
Location: Malta

Re: Unable to use Task Scheduler to trigger my AHK script

23 Jun 2021, 10:41

mikeyww wrote:
23 Jun 2021, 09:07
What have you specified as your program and argument?
I specified the path to the script without argument and start in. Didn't work. Then I encrypted the script using fuye encryption and compiled it and used the path to the compiled version and it worked.
User avatar
mikeyww
Posts: 26877
Joined: 09 Sep 2014, 18:38

Re: Unable to use Task Scheduler to trigger my AHK script

23 Jun 2021, 12:08

Good. You can also run an uncompiled version if you specify the full path to AutoHotkey.exe as the program, and the full path to your script as the argument.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada and 222 guests