Task Scheduler Won't Open .ahk Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
just tryin to macro

Task Scheduler Won't Open .ahk

14 Nov 2016, 04:43

Having issues. Trying to schedule windows to open my .ahk macro after being idle for more than 15m.
Task Scheduler will open it but won't run it as I'm getting "what would you like to open this program with?" window.
It automatically runs when I manually click to open the macro.
Tried to check the "always open with Autohotkey" box.
Can't find a solid solution to simply resetting the .ahk file extention association online. Windows 10.
Noesis
Posts: 301
Joined: 26 Apr 2014, 07:57

Re: Task Scheduler Won't Open .ahk

14 Nov 2016, 22:14

Try pointing Tasksheduler to run the actual autohotkey.exe file as the program, and then putting the path and file for the *.ahk script in as arguments for it.
Steve

Re: Task Scheduler Won't Open .ahk  Topic is solved

21 Jul 2017, 21:41

Had the same issue. Your suggestion works. Thanks. No problems under W7 but W10 Creators seems to have issues with file associations.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Fredrik F, maxkill, RandomBoy, ShatterCoder and 394 guests