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 Regular Expressions Appendix.
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.
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.
Related Topics
Appendix D - Regular Expressions
|