Hi
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.
Simple key press after a window notification?
Re: Simple key press after a window notification?
I am not a coder, I am not good with this, I have no idea if I can help you. So until someone more experienced does help you:
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?
}
}
Re: Simple key press after a window notification?
this does nothing other then huge cpu usage.
Who is online
Users browsing this forum: bobstoner289, Chunjee, Google [Bot], macromint, peter_ahk and 331 guests