Skip to content

Instantly share code, notes, and snippets.

@Shoeboxam
Created August 8, 2015 02:51
Show Gist options
  • Save Shoeboxam/d131ee7bb141673c432c to your computer and use it in GitHub Desktop.
Save Shoeboxam/d131ee7bb141673c432c to your computer and use it in GitHub Desktop.
Remap numlock to speedcrunch calculator tape
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetNumLockState AlwaysOn
NumLock::
IfWinExist, SpeedCrunch
WinClose SpeedCrunch
else
Run, "C:\Program Files (x86)\SpeedCrunch\SpeedCrunch.exe", max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment