I have had to move hosts and now run windows server 2022. I login to the machine using Windows Remote Desktop Connection. On this new VPS, if I am logged in via RDC, the scripts, which are on a schedule, work fine. But if I am not logged in they stop after the first line which is in all cases the loading of a web page. Example:
Code: Select all
Run, https://streamyard.com/v9q3hpx4bh
Sleep, 15000
WinWait, StreamYard - Brave,
IfWinNotActive, StreamYard - Brave, , WinActivate, StreamYard - Brave,
WinWaitActive, StreamYard - Brave,
MouseClick, left, 976, 744
Sleep, 5000
The scripts are saved as .ahk files.
Any pointers much appreciated.
Ed