I want to use a script to insert my e-mail address when I double tap the @ key whilst holding the shift key (the shift key needs to be held in order for the @ key to function as an @ key). I have copied the e-mail insert script from somewhere else, I just don't know what to put at the beginning? I guess it's not as simple as '@@'?
Code: Select all
::
Clipsave:=ClipboardAll ; save clip
Clipboard:="" ; empty clip
Clipboard := "[email protected]" ; put your email in clip
ClipWait ; wait
Send, ^v ; send paste
Sleep, 50 ; Wait a few ms
Clipboard:=Clipsave ; restore clip to not interrupt standard operation
return
Esc::ExitApp ; Failsafe exit