Rules |
Top Previous Next |
In the 'Rules' tab you will find the following parameters:
Rules grid This grid contains the currently defined rules for the selected HotSpot.
Pattern In this field you must type a rule in the form of a Regular Expression to match the screen string you want to turn into a HotSpot. If you are not familiar with Regular Expressions, see Appendix B.
Case sensitive Check this option if you want to consider the case when matching the Hot text.
Text is followed/preceded by a space Check this options to specify that the pattern will be matched only if preceded and/or followed by a blank character.
Regular Expression Check this option to enable regular expressions in the Pattern field.
Action This field specifies the action to be performed by the HotSpot when it is clicked by the user. Available options are:
Keystrokes In this field you can type the text that you want to be sent as keystrokes. You can also specify keys to be pressed; just select a key from the list and press the '+' button.
This is what the 'Rules' tab looks like when you select the 'start a macro' option:
Name In this field you can type the name of a Macro to be started in response to the HotSpot activation. You can use the 'Open' button to select a macro from the configuration directory.
1. In the 'Pattern' field, enter a Regular Expression to match the string you want to turn into a HotSpot, along with the adequate case and blank options. 2. Select the action to be performed by the HotSpot when it is clicked by the user. Either choose the 'Send Keystrokes' or the 'Start a macro' option. 3. Type the keystrokes or the name of a macro according to the action selected before.
4. Click on the 'Add' button.
The new Rule you defined will now appear in the Rules grid.
1. Select the Rule you want to modify from the Rules grid. 2. Modify the already defined 'Pattern' and 'Action' parameters as desired. 3. Click on the 'Replace' button to apply the changes to the Rule.
1. Select the Rule that you want to delete from the Rules grid. 2. Click on the 'Delete' button.
The Rule you selected will be removed from the Rules grid.
1. Click on the 'Test' button. The 'Test HotSpot Rule' dialog will be displayed.
2. In the 'Text string' field, type the screen text simulation to be evaluated. 3. Click on the 'Test' Button. If the string you typed matches the current rule specified for the HotSpot, a message informing the action to be performed in response to the HotSpot activation will be displayed. 4. Click on the 'Exit' button to close this dialog and return to the 'Rules' tab.
|