#include <_Clipboard.au3> #requireadmin HotKeySet("^g", "_ClearAndPaste") While 1 Sleep(100) WEnd Func _ClearAndPaste() ; CTRL+g Local $aClip _Clipboard_GetAll($aClip) ; save clipboard contents Local $sClip = ClipGet() ; get clipboard as plain text ClipPut($sClip) ; put clear text back on clipboard sleep(700) Send("^v") sleep(200) _Clipboard_PutAll($aClip) ; restore previous contents (clears current contents) _Clipboard_MemFree($aClip) EndFunc