VBScript package
- Updated: 2023/02/07
VBScript package
The VBScript package contains actions that enable VBScript functions in a task.
Before you start
- Verify that the device on which you want to run the VBScript has Windows operating system installed.
- Open a VBScript file, or input the script you want to run using the Open action. You must associate the details of the file or script you want to run with a session name. Use this same session name for other VBScript actions.
- Use the Run function action to execute a function within the script or execute the entire script. You must use the VBScript session name you established in the previous step.
- After you have executed the script, close the VBScript
session.
To review the bot launcher logs, navigate to C:\ProgramData\AutomationAnywhere\BotRunner\Logs\<current month>\Bot_Launcher-<today's date>.log.zip. Each zipped folder contains a file with data on the code execution, which is useful for debugging.
Actions in the VBScript package
The VBScript package includes the following actions:
Note: The Open
action must be the first action to use the VBScript in a task.
Action | Description |
---|---|
Close | See Close action in VBScript. |
Run function | See Run function action in VBScript. |
Open | See Open action in VBScript. |