/
Triggers
Triggers
Triggers can be used to detect when a specific string appears in the terminal and subsequently perform specific actions such as sending a string or executing a script.
To add a trigger keyword :
- Select [Triggers] from the [Tools] menu. Result: The Triggers dialog box appears.
- Click [Add]. Result: The Edit Trigger dialog box appears.
- Enter a keyword you want to detect.
- In [Action], determine the action to take when the keyword appears in the terminal.
- Append Text
If the string to be detected appears, the specified string is output. - Run Script File
If the string to be detected appears, the specified script will be executed. - Launch Application
If the detection string appears, the specified application is started. - Show Message Box
If a string to be detected appears, a dialog box will appear displaying the specified string. - Use as URL hyperlink
If you see a string to detect, replace that string with a URL string that contains the text you specify. - Flash the taskbar and windows
When a string to be detected appears, the Xshell window and the Xshell icon on the taskbar blink. - Ring the Bell
When a string to be detected appears, the system rings. System bells can be handled in various ways depending on the session's bell options (Advanced Bell).
- Append Text
- Click [OK].
To delete a trigger keyword :
- In the Trigger dialog box, select the keyword you want to delete.
- Click [Delete].
To edit a trigger keyword :
- In the Trigger dialog box, select the keyword you want to modify.
- Click [Edit]. Result: The Edit Trigger dialog box appears.
- After modifying the keyword and action, click [OK].
To apply a trigger keyword to a session :
- In the Trigger dialog box, select or deselect the keywords you want to apply by clicking their check boxes.
- Click Close to close the Trigger dialog box.
Related content
Monitoring? [1]
Monitoring? [1]
More like this
Xstart Command Tag Definition
Xstart Command Tag Definition
More like this
Xstart Command Tag Definition
Xstart Command Tag Definition
More like this
Standard Buttons
Standard Buttons
More like this
Advanced _ Bell
Advanced _ Bell
More like this
Advanced _ Bell
Advanced _ Bell
More like this