I often use EditPlus 5.5 to code and I turned on the indent option: Insert SPACES instead of TAB.
But sometimes I need to insert a TAB character, so I wrote this little AHK script to insert a TAB using the shortcut: WIN+TAB
It works fine, but I lose the previous string stored in the CLIPBOARD.
1. How to fix this script to insert a TAB character without losing the previous CLIPBOARD?
2. Do you know a way to insert a TAB character without using the CLIPBOARD?
3. Do you know a way to get/store the selected text without using the CLIPBOARD?
Code: Select all
$#tab::
;cb1:=clipboard
clipboard:=" "
clipwait,1
send,^v
;clipboard:=cb1
return
There is a TAB character between the 2 single quotes.
Uncommenting the 2 commented lines does not solve my problem.
Thank you and regards