Autohotkeyscripts

From notebook

Revision as of 22:44, 24 March 2017 by Timtak (Talk | contribs)
Jump to: navigation, search

<poem>^,::

blank the clipboard so clipwait will work correctly
with sending ^c

clipboard := "" send ^c ClipWait, 1 StringReplace, clipboard, clipboard, `,,, All StringReplace, clipboard, clipboard, `&,, All StringReplace, clipboard, clipboard, et al.,, All Return

$^+v:: ; CTRL+SHIFT+V ClipSaved := ClipboardAll ;save original clipboard contents clipboard = %clipboard% ;remove formatting Send ^v ;send the Ctrl+V command Clipboard := ClipSaved ;restore the original clipboard contents ClipSaved = ;clear the variable Return</poem>

Personal tools