Use the Record Macro dialog box to record a macro. When you record a macro, you can temporarily pause the recording. For example, if you forget the name of a file to be included in the macro, you can pause the recording, look up the file name, and then resume recording.
In addition, you can insert several special macro functions into a macro as you record it.
Table 2 Record Macro Dialog Box
Settings |
Description |
---|---|
Record Macro Name |
Enter a unique name for your macro. |
Make Macro Available To |
Enter the location to which you want to make your macro available. |
Save as Startup Macro for This Session |
When selected, your macro is runs each time you start this session. |
Run This Macro When Reconnecting |
When selected, your macro runs each time this session reconnects. |
Use with any Active Session |
When selected, your macro is used with any session that is active. |
Use with this Session Only |
When selected, your macro is used only with the current session. |
Default Wait Timeout |
Indicates the amount of time the macro waits before continuing to record actions. The default is 3 seconds. |
Record an Express Logon Macro |
Select to record a start-up macro, which provides automatic logon by replacing the placeholder strings in the macro with the valid user name and password for the user connecting to the host. |
Application ID |
The ID of the host application to which the Express Logon Macro should connect. |
Macros Available In |
Select the location where the macro is available. |
Description |
(Optional) In the Description field, enter a brief description of the macro. Your description provides a quick reference, especially in installations where many different macros have been created. |
Close |
Closes the dialog box. |
Help button |
Choose this button for help on recording macros. |
To record a macro
From a session, choose
from the menu.The Macro dialog box appears on your screen.
Choose the
button.The Record Macro dialog box opens.
In the Macro Name field, enter a unique name for your macro.
(Optional) In the Description field, enter a brief description of the macro.
Your description provides a quick reference, especially in installations where many different macros have been created.
In the Make Macro Available To field, enter the location to which you want to make your macro available.
To use your macro with any session that is active, select
.-or-
To use your macro with only the current session, select
.Enter a value for Default Wait Timeout to indicate the amount of time the macro waits before continuing to record actions. The default is 3 seconds.
Choose the
button.The macro recording panel displays.
Perform the actions you want to record.
HINT:Press the Pause button to stop recording temporarily. Press the Pause button again to continue recording. To pause the macro and insert a special macro function into the script, press the Insert button.
Press the
button to stop recording after the last action.