email textexpander
Hi,
I am looking for a little help automating some emails I have. I used the macro (manual text input field) to input a Month, Day, and time for a generic appointment email. Is there a way I can easily create something that also puts the same subject on all the emails? All in such a way that if I use it in an email it automatically puts the subject on the email, requests Month, Day, Time and then creates the generic appointment email?
Thanks, Jim
I am looking for a little help automating some emails I have. I used the macro (manual text input field) to input a Month, Day, and time for a generic appointment email. Is there a way I can easily create something that also puts the same subject on all the emails? All in such a way that if I use it in an email it automatically puts the subject on the email, requests Month, Day, Time and then creates the generic appointment email?
Thanks, Jim
This is one way to do this:
Code: Select all
Code: Select all
to:="[email protected]"
cc:="[email protected],[email protected]"
bcc:=" "
subject:="Hello"
body:="Best regards,%0A%0AJohn"
Run mailto:%To%?cc=%cc%&bcc=%bcc%&subject=%Subject%&body=%body%
Thanks! Is it possible to alter something like this so I can also input something dynamically into the body of the msg whenever I run it? I tried to do something like input a variable using the macro but could not get it work. For example, "Thanks for calling. I will call back <date/time you enter>", when I run it, I just need to enter the date and time.
One way:
Type: Command
Type: Command
Code: Select all
InputBox, UserInput,, Enter a day and time,,,130
to:="[email protected]"
cc:="[email protected],[email protected]"
bcc:=" "
subject:="Hello"
body:="Thanks for calling. I will call back on " UserInput ".%0A%0ABest regards,%0A%0AJohn"
Run mailto:%To%?cc=%cc%&bcc=%bcc%&subject=%Subject%&body=%body%
This worked great. Thank You! One last thing, can a command like this also send out pre-defined textexpander strings - ex signature and or a URL to a destination? I tried using " insert another item" but it did not seem to work.
One thing I did notice was that when I use this, for some reason my default outlook signature is not added to the email like normal.
In the next release, we will allow "Insert Another Item" macro to work properly in a Command mode.
Regarding a signature, there may be some solutions:
https://www.google.si/search?q=mailto+signature
Regarding a signature, there may be some solutions:
https://www.google.si/search?q=mailto+signature
Thanks! I did find this online - it seems to work(not really sure why - outside my comfort level). The only issue for me is that if I have a big message, the formating is not easy.
Code: Select all
m := ComObjActive("Outlook.Application").CreateItem(0)
m.Subject := "Hi There"
m.To := "[email protected]"
m.Display
myInspector := m.GetInspector
wdDoc := myInspector.WordEditor
wdRange := wdDoc.Range(0, wdDoc.Characters.Count)
wdRange.InsertBefore("This is the body")
Thanks Jim for posting this.