Skip to content

Instantly share code, notes, and snippets.

@RayBB
Created December 14, 2016 22:44
Show Gist options
  • Save RayBB/a08ebec97c68b763b3774a95f024670b to your computer and use it in GitHub Desktop.
Save RayBB/a08ebec97c68b763b3774a95f024670b to your computer and use it in GitHub Desktop.
;; Basically, on z keypress, this program coppies selected text, alt tabs, pastes, and switches back
;; Need Auto hotkey to run this
z::
SendEvent {Ctrl Down}c{Ctrl Up}
Sleep, 100
Send, {ALT DOWN}{TAB}{ALT UP}
Sleep, 100
Send, ^V
Send, {ALT DOWN}{TAB}{ALT UP}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment