30
10 Getting Started
Recording the Login Macro
In steps 6-9, you’ll record the Login macro.
6. On the Macro menu, click Start Recording. The actions you perform next will
be recorded and saved to a macro.
7. Connect to the host by clicking the Connect command on the Connection
menu or by clicking the Connect/Disconnect toolbar button.
Note: Reflection will also connect to your host if you press the Enter key when
you are disconnected. Don’t use this shortcut when you are recording connections
because this keystroke is also recorded.
8. Type a user name and password, then press Enter to log on. Even if you are
using a demonstration host, you should enter some text for a password; although
you can make a demonstration connection if you leave this blank, your macro
won’t accurately simulate an actual host connection.
Note: Unless you change the value of the Record Passwords setting (or the
RecordPasswords property), Reflection will not include your password in any
recorded macro.
9. When you have completed your login procedure, click Stop Recording on the
Macro menu (or click the Start/Stop recording button on the toolbar). This
opens the Stop Recording dialog box.
10. Type Login in the Macro name box and select the Make this the connect
macro check box. Click OK to finish recording.
Testing the Login Macro
Steps 11 and 12 test the macro you just created.
11. Disconnect from the host.
12. Make a new connection. Because the macro you recorded is a connect macro,
it will run automatically as soon as the connection is made. You should see a
prompt for your password (which was not recorded). After you enter a password,
the Login macro will complete execution and you should see the host prompt
that indicates that you are successfully logged on.