Using the login script
A login script is simply a series of steps to login to an application or web site (think of it as a keyboard macro). Each step is either a field value, a keystroke or a short delay.
For example, most applications or websites require you to enter two fields, username and password.
Typically, you will enter the username in the username field, press the [Tab] key to move the cursor to the password field, enter the password, then press the [Enter] key to gain access.
Therefore the default login script consists of the following steps:
- [Ctrl-A] (select existing value in the username field)
- Enter "Username" (overwrite existing value in the username field)
- [Tab] (move cursor to the password field)
- [Ctrl-A] (select existing value in the password field)
- Enter "Password" (overwrite existing value in the password field)
- [Enter]
Note: The default login script may not work with all applications. Therefore you may want to modify the login script by adding and deleting steps to suit the application. In particular, the [Ctrl-A] key to select an existing value in the current field may cause problems for certain applications (eg. terminal clients).
The left-middle pane (highlighted in red) is the login script pane.
There are a few basic tasks related to login script management:
- Add a field to the login script. You can either drag-and-drop existing fields in the fields pane to the login script pane, or select from the context menu.
- Add a new keypress to the login script. Select from the context menu, and enter the desired keystroke using the keyboard.
- Add a new delay to the login script. Select from the context menu, and enter the number of seconds for the desired delay.
- Edit an existing step in the login script. Either double-click on the target step, or choose from the context menu.
- Reorder the steps in the login script. Use drag-and-drop to change the order of the steps.
- Delete an existing step in the login script. Select the step and press [Del], or choose from the context menu.
- Copy a login script from one bookmark to another. Choose from the context menu on the source login script, and choose on the destination login script.
- Use current login script as default for all new bookmarks. Choose from the context menu.
You can execute the login script in any application by doing the following:
- Position the mouse cursor over the first text field. In the example below, the browser is pointing to the Yahoo Mail web site, and the mouse cursor is positioned over the username text field.
- Press the hotkey. By default, the hotkey is [Ctrl-Right-Mouse-Button], which means you should hold down the [Ctrl] key, then click on the right mouse button once, then release the [Ctrl] key.
A popup menu will appear, listing all the entries with login scripts defined.
- Select the target entry, then select . Double-clicking on the target entry does the same thing. In the example below, the entry is selected, then is selected. This causes the login script to run, which inserts the proper username and password values into the relevant text fields. The final [Enter] in the login script initiates a login to the Yahoo Mail web site.