I am trying to create a script that takes a name and adds it to a pre-written block of text.
Essentially, I want to write "emailDave" and have the name Dave inserted in a line of text, which is then sent. I just don't know how to change the hotline this way.
I am currently using a method that requests a name using an InputBox and inserts it into the text. This works fine on the desktop, but I am using Windows 8 and for some terrible reason, the InputBox will not display in the application (i.e. outside the operating mode).
I know that there must be a way to use the text that I entered "email vs emailDave" to affect the variable, instead of taking me on this geese hunt with the InputBox.
However, if anyone knows a workaround for displaying InputBox in Windows 8 applications (especially Mail), this would be more than useful.
The current script that works fine on the desktop but does not work in the application:
::email:: InputBox, thename, Enter the name, What is the name SendInput Hi %thename%,{enter}{enter}Sample text.{enter}{enter}Thanks,{enter}Zach Return
Is there a way to do something like this work?
::email{%thename%}:: SendInput Hi %thename%,{enter}{enter}Sample text.{enter}{enter}Thanks,{enter}Zach Return
source share