Run a Basic Script Action

NOTE: This feature is only available in the Professional version of AutoMate

Description

Arguably the most powerful feature in AutoMate™ is its ability (Professional version only) to create, and execute VBA™ (Visual Basic for Applications) scripts.

To create a BASIC script, use the AutoMate™ IDE located in the AutoMate™ Program group under the Start Menu. Once the script is created simply select path to the .BAS filename that contains your BASIC code.

Run a BASIC Script Action Properties Dialog

Run a BASIC Script dialog

Parameters

Script to Run
Specifies the filename of a text file containing the BASIC code to execute. The file should end in a .BAS extention.

Create a new script
Launches the AutoMate BASIC IDE with a new untitled document. After you finish creating the script and save it. You should then specify the script filename in the "Script to Run" parameter as it is not populated automatically.

Edit Script
Launches the AutoMate BASIC IDE with the document specified in Script to Run open and available to be edited.

Make this a deployable
Deployables are an advanced topic having to do with referencing filenames that are included as packages with a task that is being exported for use on another machine or deployed using AutoMate Enterprise Server. This checkbox appears on all actions that include a parameter for a filename. Click here for more on using Deployables.

 

Notes

For an in depth look at scripting in AutoMate, click here .

Related Topics:

Scripting In AutoMate

Other Available Actions