Luis Diaz
asked on
AutoHotKey: change script related of adress e-mail sent.
Hello experts,
I have the following AutoHotkey script:
;====================================
;louisdiazramirez@gmail.com
;====================================
:*:ldx::
Sleep,15
Send, louisdiazramirez@gmail.com
Return
Sometimes I have the following result:
luisdiazramirez@gmail.com
Instead of:
I was wondering what should I do to always have the following:
louisdiazramirez@gmail.com
Thank you for your help.
Regards,
Luis.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Noted, I tried Sendinput with the capital at I. This is probably why it didn't work. Anyway it is too late her (1h34AM) and I have a job interview tomorrow in France no so far from Grenoble. Thank you for your help Joe!
This is probably why it didn't work.No, that is not why. AutoHotkey commands and functions are case insensitive. If need be, we can work on this more whenever you have the time. Regards, Joe
ASKER
Joe,
The following script works for me.
Regards,
Luis.
The following script works for me.
;====================================
;ldia468@gmail.com
;====================================
:*:ldix::
Sleep,15
SendInput, ldia468@gmail.com
Return
If I made a mistake, please let me know.Regards,
Luis.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
;====================================
;louisdiazramirez@gmail.com
;====================================
:*:ldx::
Send, louisdiazramirez@gmail.com
Return
;====================================
;ldia468@gmail.com
;====================================
:*:ldix::
SendInput, ldia468@gmail.com
Return
I suggest changing Send on line 6 to SendInput (as you have on line 14).
ASKER
When you say sendinput is like send a block related to a declared variable because I tested at least 15 times the following script and it works even if I write text after and before:
Open in new window