AutoHotKey v. 1.1.33.09. Windows 10, Firefox, Edge, Chrome, multiple applications
I have several lengthy email addresses associated with some non-profit work I do. I am creating shortcut keystrokes in an autohotkey script for each email address, phone number, and mailing address to speed form filling.
There are unwanted trailing single spaces being produced in the output string which forces me to manually type a backspace in order to move on in the form that is being filled.
How to elegantly eliminate these spaces?
::.1::john.doe1@myhost.com
return
::.2::john.doe2@myhost.com
return
::.ad::1234 Address Blvd, Anytown, USA 99999-1234
return
::.p::1-800-555-5555
return
note: In the examples below the underscore symbol _ represents an unwanted trailing space.
.1[enter] returns john.doe1@myhost.com_
.2[enter] returns john.doe2@myhost.com_
.ad[enter] returns 1234 Address Blvd, Anytown, USA 9999-1234_
.p[enter] returns 1-800-555-5555_