Created
April 30, 2024 09:51
-
-
Save lucian303/fc5dbafc3fc39cb9f9de1e6ea772f41b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
RunOrRaise(class, run) | |
{ | |
if WinExist(class) { | |
WinActivate, %class% | |
} | |
else { | |
Run, %run% | |
} | |
} | |
DetectHiddenWindows, On | |
SetTitleMatchMode, 2 | |
SetTitleMatchMode Slow | |
#p::RunOrRaise("Windows PowerShell", "powershell -NoLogo") | |
#f::RunOrRaise("Firefox Developer Edition", "firefox.exe") | |
#t::RunOrRaise("Terminal", "wt.exe") | |
#s::RunOrRaise("Sublime", "C:\Program Files\Sublime Text\sublime_text.exe") | |
#c::RunOrRaise("CLion", "C:\Program Files (x86)\JetBrains\CLion 2024.1.1\bin\clion64.exe") | |
#k::RunOrRaise("Keybase", "keybase.exe") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment