BASIC Script Action Icon

BASIC Script Action




See Also


Basic Script Action-Setting Properties, Introduction to BASIC Scripting, The BASIC Language Grouped by Type, Operators, Order of Precedence



Runs an embedded or external BASIC script or creates a user defined function which may be called in subsequent expressions or BASIC scripts. BASIC scripting can be used for advanced flow, COM objects, API calls and the creation of custom dialog boxes.

Practical Usage

See Description.


General Tab

Location of script

 Specifies where the script is located.


The available options are:


Edit Script

 Click the Edit Script button to open the Automate Basic IDE, which helps in writing, debugging, and testing your Automate basic script.


Custom Description

This action includes the Description tab for entering a custom step description.

More on setting custom step description

Standard Error Handling Options

This action also includes the standard Error Causes and On Error failure handling options/tabs.

More on Error Handling Options

Variables and Expressions

All text fields allow the use of expressions, which can be entered by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by pressing F2.

More on variables
More on expressions

More on the expression builder


NOTE: The code below can be copied and pasted directly into the Steps pane of the Task Builder.


 <AMSCRIPT>Sub Main MsgBox(&quot;Hi&quot;)End Sub </AMSCRIPT>