It’s a solution that annoys me as an idea, but it’s the only thing I have found that works for me. I have about 20 individual AutoHotkey scripts that are named GO TO <application name> and that go like this:
SetTitleMatchMode 2
if (not WinExist("Mozilla Firefox ahk_class MozillaWindowClass")) {
Run A_ProgramFiles . "\Mozilla Firefox\firefox.exe"
} else {
WinActivate
}
Return
I also have individual LNK files that target the AutoHotkey scripts, so that you can run the scripts from any launcher. Here is how it looks in PowerToys Run:https://op111.net/images/20240117-powertoys-run-autohotkey-s...