updated to weird macros
This commit is contained in:
parent
7a09245d1a
commit
ba33ffc063
2 changed files with 8 additions and 2 deletions
|
@ -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%}
|
||||
}
|
|
@ -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]) {
|
||||
|
|
Loading…
Reference in a new issue