diff --git a/ahk_files/propre_send.ahk b/ahk_files/propre_send.ahk index 6189205..8521d22 100644 --- a/ahk_files/propre_send.ahk +++ b/ahk_files/propre_send.ahk @@ -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%} } \ No newline at end of file diff --git a/ahk_files/send_obs_back_to_propre.ahk b/ahk_files/send_obs_back_to_propre.ahk index 1f014df..128eb60 100644 --- a/ahk_files/send_obs_back_to_propre.ahk +++ b/ahk_files/send_obs_back_to_propre.ahk @@ -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]) {