Skip to content

Instantly share code, notes, and snippets.

@ailon
Last active Nov 21, 2020
Embed
What would you like to do?
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
#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