Code: Select all
4::
KeyWait, 4
If WinActive("ahk_class WindowsForms10.Window.8.app.0.2eeeb2e_r9_ad1")
{
Send 4
Sleep 1000
Send 5
}
Return
Thanks!
Code: Select all
4::
KeyWait, 4
If WinActive("ahk_class WindowsForms10.Window.8.app.0.2eeeb2e_r9_ad1")
{
Send 4
Sleep 1000
Send 5
}
Return
Code: Select all
$4:: ;$ necessary if the script uses the Send command to send the hotkey itself
SetTitleMatchMode, RegEx
KeyWait, 4
If WinActive("ahk_class WindowsForms10.Window.8.app")
{
Send 4
Sleep 1000
Send 5
}
Return
Users browsing this forum: No registered users and 49 guests