|
<< Click to Display Table of Contents >> Navigation: »No topics above this level« Preamble |
The Quick3270 software supports two macro languages: The internal Quick3270 macro interpreter and VBScript.
Since version 5.40, VBScript is the default macro language.
To select the default macro language :
Quick3270 / Menu / Macro / Settings...

1.The internal Quick3270 macro interpreter, with a syntax similar to the VBA language. The syntax, keywords, and functions of this language are described in this document.
This language is used for Quick3270 macros (.qmc files), as well as macro files from the following software: Extra! X-treme™, Rumba™, HobLink™, QWS3270™, and TN3270 Plus™.
2.Since version 5.30 of Quick3270, the Windows VBScript interpreter has been added as an optional macro language (.qvbs files).
The VBScript language is more complete and provides more features than the Quick3270 interpreter. VBScript itself is not described in this document, but documentation can easily be found online (for example on the VbsEdit website).
However, the emulator specific functions described in the chapter “Quick3270 Functions and Statements” are also available in VBScript. These functions and statements can be accessed directly or through a virtual object named Emu.
The Emu object was created to make macro code easier to read.
For example, in VBScript you can use:
SendKeys "<Enter>"
or
Emu.SendKeys "<Enter>"
As VBScript is also the interpreter used by IBM Personal Communications™, this option improves compatibility of Personal Communications™ macros (.mac files) in Quick3270.
The VBScript interpreter is also used for macros from the Reflection™ software (with the addition of the RIBM object).
* Since version 6.00, Quick3270 includes the VbsEdit™ macro editor, which supports syntax highlighting and debugging.
Note:
Microsoft has announced the end of life of VBScript. Around 2027, VBScript will be disabled by default. At a later date (not yet announced), VBScript will be permanently removed.
Our current project is to extend the Quick3270 macro interpreter so that VBScript syntax is also supported. In this way, when VBScript is no longer available in Windows, the interpreter built into Quick3270 will automatically and transparently execute these macros