Code: Select all
:*:---::[hr][/hr] ; Send HTML tags for horizontal line by presssing 3 hyphens
However, whilst effective, the horizontal line was very faint. I found that using consecutive underline characters created a thicker horizontal line.
The docs for Send say: To repeat a keystroke: Enclose in braces the name of the key followed by the number of times to repeat it.
As a result I changed my code to:
Code: Select all
:*:---::Send {_ 63} ; Send 63 consecutive underscore characters to form horizontal line by presssing 3 hyphens
The line itself looks much, much better... but I don't understand why 'Send' is prefixed to the output.
The same behaviour happens if I use alternatives to Send like SendInput or SendRaw.
Can anyone explain and/or offer a fix or workaround? TIA
I'm using AutoHotkey 1.1.33.11 in Windows 10 Pro 1809.
Edit: I've just upgraded to latest version of AutoHotkey 1.1.34.03... it made no difference.