Hacker News new | ask | show | jobs
by Willwhatley 1027 days ago
; I call this "Tilde opens Notepad" after yours, devindotcom.

; It is made in Autohotkey2.

  `::  ; Tilde key 
  {
  If WinActive("Untitled - Notepad") or WinActive("*Untitled - Notepad")
   WinClose
  else
  
  If WinExist("Untitled - Notepad") or WinExist("*Untitled - Notepad")
   WinActivate
  else
   Run "Notepad"
  }