Skip to content

Instantly share code, notes, and snippets.

@fusion809
Created April 26, 2020 04:32
Show Gist options
  • Save fusion809/e0e2341bc5da34154b0e2cb114c461e6 to your computer and use it in GitHub Desktop.
Save fusion809/e0e2341bc5da34154b0e2cb114c461e6 to your computer and use it in GitHub Desktop.
#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.
#f:: WinMaximize, A
#m:: WinMinimize, A
#n:: Run, "C:\Program Files\Notepad++\notepad++.exe"
#o:: Run, C:\Octave\Octave-5.2.0\octave.vbs
#q:: WinClose, A
#r:: Run, WinGetActiveTitle, Title
WinRestore, "%Title%"
F12::
Run, cmd.exe
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment