🧰 AutoHotkey v2

Quick App Launcher

Ctrl+Alt+letter hotkeys that launch (or focus, if already running) Notepad, Calculator, and File Explorer.

By WindowsScripting.com · 665 B
QuickAppLauncher.ahk
; ============================================================
; QuickAppLauncher.ahk
;
; Launches (or focuses, if already open) common apps via hotkey:
;   Ctrl+Alt+N -> Notepad
;   Ctrl+Alt+C -> Calculator
;   Ctrl+Alt+E -> File Explorer
;
; Requirements: AutoHotkey v2 (https://www.autohotkey.com/)
; ============================================================

#Requires AutoHotkey v2.0

LaunchOrFocus(exeName, target) {
    if WinExist("ahk_exe " exeName)
        WinActivate
    else
        Run(target)
}

^!n::LaunchOrFocus("notepad.exe", "notepad.exe")
^!c::LaunchOrFocus("CalculatorApp.exe", "calc.exe")
^!e::LaunchOrFocus("explorer.exe", "explorer.exe")