Menu: Run, Debug, Tools, Output

Some menu commands are described in the Toolbar topic. Others here.

Run

Show possible run-time errors - when compiling macros/functions, show possible run-time errors. Read more in err help.

 

Show unused variables - when compiling macros/functions, show "unused variable" warning when a local or thread variable is declared but not used.

 

Show declarations from ref files - show declarations retrieved from reference files.

 

Show loaded dlls and type libraries - show names of dlls and type libraries, when they are actually loaded.

 

Declarations and loaded files will be shown in QM output when compiling macros and sometimes when displaying in the code editor.

 

Tip: You can use CompileAllItems to compile multiple functions.

 

View Active Items - show or hide 'Open items' and 'Running items' lists in QM window. In the 'Running items' list you can see currently running threads, toolbars, timers, and recently launched items. Right click an item if you want to end a thread, find a lost toolbar, stop a timer.

 

Auto Minimize QM - minimize QM when you click the Run button or menu item to run a macro. Only if it is a macro without option 'Run simultaneously'.

 

Disable triggers - when checked, QM does not respond to most trigger events (as set in Options).

 

Make exe, Run exe - create or run .exe file from current macro/function.

Debug

Run or control macro in debug mode. Set debug mode options.

Tools

Record menu - records menu command (men) when you click a menu item in some window. Not all menus can be recorded. If does not record, it means that men cannot be used with that menu. When recording, the window does not receive menu commands, unless you click with Shift.

 

COM libraries - view registered COM type libraries and ActiveX controls. Insert type library declaration statement (typelib). Register/unregister COM components.

 

Portable QM - install portable QM in a removable drive.

Output

Open selected item - open QM item whose name is fully selected in the QM output.

 

Log -> Window events - when a window is activated, created, etc, display its handle, class and name in the Output. You can use this when it is difficult to make a window trigger.

 

Log -> Acc. trigger events - log accessible object events to get information required for accessible object triggers.

 

History - displays last 32 QM output events. You can see where and when was called out. For macros running in separate process QM logs less info. Some right-click menu items: Locate - open the macro/function and show the statement that generated the output event; Caller - open the macro/function that called that function.