Execute VBScript
Purpose
To execute VBScript code using IE. (VBScript may need to be enabled on IE if it is not.)
Description
The Execute VBScript activity is set to display Hello World! dialog.
You can import content from a VBScript file and assign it to the VBScript property using the Import File button available on the activity box. (See above.)
Properties
Property |
Data Type |
Description |
General |
|
|
Display Name |
String |
Display name of the component. |
Enable Pause |
-NA- |
Option to pause the activity (related to the component) during a job execution after receiving a pause control signal from the Cockpit application. The checkbox is selected by default. |
Input |
|
|
VBScript* |
String |
VBScript code to run. Note: Replace double quote (") in the script with single quote (') to avoid mismatch with starting and ending double quotes. Ignore this if you have imported the script as it will then be done automatically. |
Misc |
|
|
Enable Bookmark |
-NA- |
Option to set a bookmark. |
Is Reserved |
-NA- |
Option to disable data tracing related to the component. |
Output |
|
|
Result |
String |
Value returned from the VBScript code. Note: To return a value, use 'WScript.Echo' in the code as below: 'VBScript code ' Calculate the sum sum = 3 + 4 ' Print the result WScript.Echo "The sum of 3 and 4 is " & sum |
Preferences |
|
|
Arguments |
Collection |
To be used for providing input to the VBScript code. |
Message Alert |
-NA- |
Option to display messages and alerts that may get generated during the code execution. |
Unicode |
-NA- |
Option to indicate that VBScript code contains unicode characters so that they can be properly interpreted. |
Note: The property names marked with * sign are the mandatory properties. |