Keyboard Script V2 _best_ Jun 2026

; Press Ctrl + Alt + T to open Terminal/Command Prompt ^!t::Run("wt.exe") ; Change to "cmd.exe" if not using Windows Terminal

I switched my entire script to v2 last month. My setup used to be 200 lines of buggy remaps. Now it is 80 lines. keyboard script v2

on("ScrollLock", () => active = !active; notify(active ? "Macro active" : "Macro off"); ); ; Press Ctrl + Alt + T to open Terminal/Command Prompt ^

Are you planning to use this script for or for a different automation task ? Copy-paste with keyboard script 2: from Excel to D365FO active = !active

; CapsLock + F: Toggle Always-On-Top for active window CapsLock & f:: ExStyle := WinGetExStyle("A") if (ExStyle & 0x8) ; 0x8 is WS_EX_TOPMOST WinSetAlwaysOnTop 0, "A" ToolTip "Always-On-Top OFF" else WinSetAlwaysOnTop 1, "A" ToolTip "Always-On-Top ON"