Last active
November 21, 2020 11:43
-
-
Save ailon/7b406ab9c0d0235ece73db2a9f79ce5a to your computer and use it in GitHub Desktop.
AutoHotKey script to always auto-switch from Studio One Remote Control app to Studio One when running on the same Windows machine. Otherwise you have to always alt-tab back from remote to Studio One
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#SingleInstance, force | |
#IfWinActive, ahk_exe Studio One Remote.exe | |
Loop { | |
if WinActive("ahk_exe Studio One Remote.exe") { | |
if WinExist("ahk_exe Studio One.exe") | |
{ | |
Sleep, 100 | |
WinActivate | |
} | |
} else { | |
Sleep, 100 | |
} | |
} | |
#IfWinActive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment