Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SetTimer WindowCheck, 5000
- WindowCheck:
- WinGet, id, LIST, ahk_class Chrome_WidgetWin_1
- Loop, %id% {
- this_id := id%A_Index%
- WinGetPos, Xpos, Ypos, Width, Height, ahk_id %this_id%
- if (Width=663) {
- WinActivate, ahk_id %this_id%
- SoundGet, MasterVolume
- SoundSet, 60
- SoundBeep
- SoundSet, MasterVolume
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement