BASIC Script Action

Description

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

Declaration

<AMSCRIPT FILENAME="text"></AMSCRIPT> Or

<AMSCRIPT>Script text</AMSCRIPT>

Example

<AMSCRIPT FILENAME="C:\Logs\Macro.bas"></AMSCRIPT>

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

General Tab Parameters

Location of script: Specify where the script is located. The available options are:

  •  Script is embedded in Workflow file

  •  Script is located in an external file.

Edit Script:  When you click Edit Script, the Visual Basic Editor appears, which is a script editor/debugger.

Notes

For Advanced Users Only: Automated Workflow’s DDE capabilities should only be used by an experienced individual or one who is interested in becoming experienced with the use of DDE communications.

DDE commands supported are Determined by the application manufacturer. For more information on the DDE commands supported by a particular software product, see the applications manual or contact the software’s manufacturer.

See Also

Introduction to BASIC Scripting, The BASIC Language Grouped by Type, Operators, Order of Precedence