Tutorial: Make your macro using VB Script


VB Script Introduction
VBS(VB Script) language is provided by Microsoft, a flexible scripting will be applied to a wide range of areas. In an incomplete statistics, the VBS Script users are the most in global area comparing with other programming languages. It has a lot of tutorial and other learning materials.

VBS in Quick Macro
We introduce VB Script into Quick Macro, to extend the functions of Quick Macro extremely. The stabilization and compatibility can be guaranteed through using Microsoft VBS engine.

The properties of VBS in Quick Macro
* Abundant functions: there are over 100 standard functions can be supported.
* Better scalabilities: many OLE/COM components can be supported to extend the flexibility of your macro.
* Better stabilization: the VBS engine is a part of Microsoft Windows, the stabilization can be guaranteed.

How to use VBS in Quick Macro?
Quick Macro provide several keywords to support VB Script.
VBS: A statement beginning with VBS keyword(can be omitted) is a VBS statement
VBSCall: A statement beginning with VBSCall keyword is a VB Script function
VBSBegin/VBSEnd: Statements between VBSBegin and VBSEnd  is a block of VBS statements

You can simply select VB Script functions through the ;VB Script Command; panel in macro editor.
You can also write your VB Script functions in an external file to be called in macro.
The standard VBS functions are saved in ;stdlib.vbs; file in the folder of Quick Macro.