VBScript package

The VBScript package contains actions that enable VBScript functions in a task.

Before you start

  1. Verify that the device on which you want to run the VBScript has Windows operating system installed.
  2. 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.
  3. 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.
  4. 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.