Skip to content

Instantly share code, notes, and snippets.

@billglover
Last active August 29, 2015 14:21
Show Gist options
  • Save billglover/0b1c82978720d79309e8 to your computer and use it in GitHub Desktop.
Save billglover/0b1c82978720d79309e8 to your computer and use it in GitHub Desktop.
Collection of application short cuts for #AutoHotKey
#NoEnv
#SingleInstance, force
SendMode Input
SetWorkingDir %A_ScriptDir%
; AppsKey + v - paste plain text
AppsKey & v::
TempText := ClipBoard
If (TempText != "")
PutText(ClipBoard)
Return
PutText(MyText)
{
SavedClip := ClipboardAll
Clipboard = ; For better compatability
Sleep 20 ; with Clipboard History
Clipboard := MyText
Send ^v
Sleep 100
Clipboard := SavedClip
Return
}
; AppsKey + c = start terminal in full screen
AppsKey & c::
Run, "c:\tools\cmder\Cmder.exe", C:\Users\bill.glover, Max
; AppsKey + e = start editor in full screen
AppsKey & e::
Run, "C:\Program Files\Sublime Text 3\sublime_text.exe", C:\Users\bill.glover, Max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment