Tutorial: Automation - From Calling Program
This tutorial will create a macro that will locate a ZIP Code in your application or field when pressing a hot key. The corresponding ZIP Code data will be copied to the Windows clipboard. The data may then be pasted to another application or a different location in the current application.
Assign Hot Key
- Click on Options | Keyboard Shortcuts to open the Hotkey Setup window.
- Highlight Ctrl+Shift+G by clicking on it from the list.
- Click on the Modify button to begin defining what the hot key will do.
Modify Hot Key
- Enter "Calling Program to Clipboard" in the Nickname Field. (This will help us remember what the hot key does.)
- In the ZIP Code Source section, select the From Calling Program option.
- In the ZIP Code Output section, select the Into Clipboard option.
- Click on the down arrow to the right of the Output Format edit box to see a list of available formats.
- Select the [CITY], [STATE] [ZIP] format. (It should now be displayed in the Output Format edit field.)
- Click the OK button to return to the Hotkey Setup window.
- Click OK again to save the Hotkey definitions and return to the main ZIP Express window.
Testing the Hot Key
- Open notepad. (To open notepad, click on the Start Button, then Run. In the Run window type in notepad and press OK.)
- Type your five digit ZIP Code into notepad.
- Press the hot key we assigned - Ctrl+Shift+G.
- Tab down to a blank position in the notepad window.
- Press Ctrl + V to paste the information that was copied to the clipboard.
- If we entered ZIP Code 15237, the results will display as "Pittsburgh, PA 15237", without the quotes.