Insert Another Item in a type command

Discussion, questions and support.
Post Reply
vrod5454
Posts: 20
Joined: Apr 18th, ’18, 02:13

Post by vrod5454 » Mar 21st, ’19, 20:46

Hi,

Is there a way to insert another item of type send within a type command? I am creating an email from a shortcut.

Code: Select all

TYPE COMMAND

Run, "C:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE" /c ipm.note
Sleep 1000
Send, {tab 2}This is my subject line{tab}%INSERT_EmailBody%
%INSERT_EmailBody% has text that I use reuse.

Thanks.
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Mar 22nd, ’19, 22:44

You can insert another Text Expander item within the script by using a Gosub command and abbreviation string:

Code: Select all

gosub ::String
Post Reply