Creating a Shortkey Macro
This topic shows how to create a macro assigned to a shortkey. When completed the macro will play back your email address.
Defining Shortkey Default Settings
First, we need to define the default settings that will apply to all shortkey macros that you may later create.
1.From the Macro Express - Explorer menu click on Options > Preferences to load the Preferences window.
2.Click on Activations and then the Shortkeys tab to display the shortkeys options.
3.Select the Use Prefix Keys option and enter z in the Prefix Keys entry box.
4.Click the OK button to return to the Macro Explorer.
ü Note: This setting requires that z be pressed before typing any shortkey defined or the macro will not play back.
Setting up the Macro and Assigning the Shortkey
1.From the Macro Express Explorer menu click on the New Macro icon to open the Create New Macro window.
2.Select Shortkey from the Activation list.
3.Type "email" (without the quotes) into the Original Shortkey entry space.
4.In the Nickname box, enter My Email Address and click OK to open the Script Editor.
Creating the Macro
1.In the Script Editor click on the Scope tab and make sure Global is selected from the drop down menu.
2.Now click on the Script tab to start writing the macro.
3.Scroll down the list of commands and click on the Keyboard category to expand this listing.
4.Double click on the Text Type command found in this group to activate the Text Type window.
5.Type your email address in the Keystrokes field.
6.If you want to have the macro paste the text into your application via the Windows clipboard, select the Use Clipboard to Paste Text option from the drop down menu. Otherwise the text is inserted into your application using the Simulate Keystrokes default option, which types out the text letter by letter.
7.Press the OK button to save the entry and return to the Script Editor.
üNote: A new entry should now appear under the section called Macro Script. This entry should read Text Type: followed by the email address that you entered. If you made a mistake entering your email address, you can double click on this entry and edit the address in the Text Type window.
8.From the Script Editor, click on the Save and Close button to save the macro and close the Script Editor.
9.Open the Macro Explorer to see the newly defined macro, "My Email Address", added to the list of available macros.
Running the Macro
1.To test the macro, run the notepad program.
2.Once notepad is running, type the following: zemail
3.Watch as your email address is typed into the notepad program.