I just need a script which monitors for a windows notification like on my picture Sawyer#8061 and presses the key combination Ctrl + F1 each time it shows up.
Thanks for your help.
Code: Select all
loop
{
if WinExist("ahk_class Notepad") {
SendInput, ^F1
Sleep, 10000 ; Waits 10 seconds for the next time the loop runs (so that the windows shuts down?
}
}
Users browsing this forum: bobstoner289, Google [Bot], peter_ahk, Spawnova and 359 guests