updated to weird macros

This commit is contained in:
Nickiel12 2021-12-30 22:56:50 -08:00
parent 7a09245d1a
commit ba33ffc063
2 changed files with 8 additions and 2 deletions

View file

@ -10,6 +10,8 @@ If WinExist(A_Args[1]) ; propresenter
{ ; if propresenter isn't active, switch and send clicker forward
if !WinActive(A_Args[1]){
WinActivate
Send A_Args[2]
sleep 200
}
arg := A_Args[2]
Send {%arg%}
}

View file

@ -10,10 +10,14 @@ If WinExist(A_Args[2]) ;OBS
{ ; if obs isn't active, switch to it, and send the hotkey
If !WinActive(A_Args[2]) {
WinActivate
Send A_Args[3]
sleep 200
}
arg := A_Args[3]
Send {%arg%}
}
sleep 100
If WinExist(A_Args[1]) ; Propresenter
{ ; switch back to propresenter
If !WinActive(A_Args[1]) {