Code: Select all
#Requires AutoHotkey v2.0
#SingleInstance Force
;Runs BetSelector to update fields amd form
;SetWorkingDir "D:\Price_Advanced\Price"
Run "C:\Users\Owner\Desktop\BET_SELECTOR.lnk"
When I run script from Task Scheduler I get the Windows Prompt asking which App to use to run the script.
I have Reset ALL default Apps in Windows Settings. Assigned AutoHotKey 64bit as the default app.
Manually running a script is fine however when it runs from Task Schedular I get the Windows Prompt asking which App to use to run the script.
Anyone come across this problem before?
[Mod action: Moved topic from “Scripts and Functions (v2)” because that section is for sharing working scripts with others, not for asking for help with your scripts.]