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
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:
|Close||Closes the session.
Specify the same session name from the Open action.
|Run function||Runs a function within the VBScript.
|Open||Opens a VBScript file.