I set up a Windows scheduled task to run an AutoIt script at a specified time. The script simply sent a key combination which was a hot key to stop a process on the computer.
This worked exactly as I wanted for a long time, but recently, possibly after some Windows updates, it stopped working. If I start the task manually in Task Manger it reports that it is Running, but the computer doesn't respond to the sent key combination, meanwhile, the task continues to run and needs to be stopped manually. If I run the AutoIt script, by double clicking the file, it immediately sends the correct key combination, so the problem is obviously with Task Manager.
My Scheduled Task Action simply has the name and path of the .au3 file in quotes. Is there another way of doing this?
Grateful for advice.