Help files

Run Javascript Action

Description:

This Action executes some custom Javascript code and retrieves its output into a Variable.

runjavascript.png
Properties:

Javascript to run:

Enter here the Javascript code you want to execute. TIP: Within the script, you may include WinAutomation Variables, since they will be evaluated prior to the Javascript code's execution.

Store Output into:

Enter the name for the Variable to hold the script's output. A script may write some text to the windows console during its execution. In this case, all the text written by the script is stored into this Variable so that it can be processed by later Actions.

Store Error Output into:

Enter the name for the Variable to hold any errors that may occur during the execution of the Javascript code.

NOTE:

Commands in Javascript will be highlighted accordingly so that you can read your script easily. Also, this action's window can be resized.