Running VBScripts
VBScripts are widely used by developers as they are easily written using any text editor, such as Notepad. A VBScript file will have the .vbs
extension. This file may contain just a script or some functions and functions may return a value. Automation Anywhere allows you to import a VBScript file as well as letting you write the script inline within Automation Anywhere. You can also pass parameters to a script and receive a return value. In the next sections, you will learn all about importing a script file and inline scripting. You will also learn how to pass parameters to a script and get return values from functions. We can start the walk-through by building the outline using steps and comments.
Let's start this walk-through by executing the following steps:
- Log in to Control Room.
- Create a new bot and call it
Chapter17 – External Scripts
in the folder\Bot\
. - Add a new Comment action as
"---------------------"
on line 1...