Skip to content

Instantly share code, notes, and snippets.

@JoeGlines
Created October 7, 2022 11:14
Show Gist options
  • Save JoeGlines/f9c76c503f9b9967720b179f8b698ca1 to your computer and use it in GitHub Desktop.
Save JoeGlines/f9c76c503f9b9967720b179f8b698ca1 to your computer and use it in GitHub Desktop.
;*******************************************************
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY
; Right now you can get a coupon code here: https://the-Automator.com/Learn
;*******************************************************
#SingleInstance Force
^g:: ;Control G pastes plain text
Store:=ClipboardAll ;Store full version of clipboard
ClipBoard := ClipBoard ; Convert to plain text
Sleep, 50
SendInput, ^v ;paste plain text
Sleep, 50
Clipboard:=Store ;restore clipboard to original content
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment