/
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
Advanced _ Bell
Advanced _ Bell
More like this
Advanced _ Bell
Advanced _ Bell
More like this
Standard Buttons
Standard Buttons
More like this
Scripting in xshell [1]
Scripting in xshell [1]
More like this
Xstart Command Tag Definition
Xstart Command Tag Definition
More like this