Main window

Normally Quick Macros runs all the time. The main window is hidden most of the time. When you want to add or edit macros, click the QM tray icon . To hide the window, click the X button (Close).

 

 

Top: Toolbars, File menu, Edit menu, Run and Tools menus, Search Help and Tools

Left: List of items

Center: Editor

Right: Active items

Bottom: Output, Find, Bookmarks, Tips, Status bar

 

Floating Toolbar

Tray icon

Keyboard shortcuts

List of items

Here you manage items that are in current file. Click an item to open it for editing. Drag and drop to move. Ctrl+drag and drop to copy. You can also drop onto the editor text or a custom toolbar. Right click to view the File menu. Middle click to close the item. Open items are yellow. Names of modified items are blue.

Editor

Here is code (text) of currently selected item. Right click to view the Edit menu. Click the selection bar to select a line. You can drag and drop the selected text. To disable-enable a line, right click the selection bar. To disable-enable more lines, select them (whole lines) and right click the selection bar, or press key Space or Shift+Space. To insert or remove tabs at the beginning of multiple lines, select them (whole lines) and press key Tab or Shift+Tab.

 

You can edit items in two editors. When you open an item, it is opened in the primary editor. Using the Edit -> Active Items menu you can move it to the secondary editor, which can be at the right or bottom. To open the same item in both editors, use one of Mirror commands. You can use the Close commands to close items. Closing an item means clearing its undo history and removing it from the list of open items. Note that QM also closes all items when you hide the QM window by clicking the X button in the title bar, or when QM exits. In all cases, everything is saved automatically.

Active Items

Check menu Edit -> Active Items -> View Active Items to view Open Items and Running Items. The Open Items pane can be used like tabs in a multitab editor or browser. It shows items that are currently open. They also are yellow in the list at the left. Right click to view the Active Items menu. Middle click to close the item. Names of modified items are blue.

 

In the Running Items pane you can see currently running threads, toolbars, timers and recently launched items. Right click to view a menu that allows you to end a thread, find a lost toolbar, reset toolbar settings, stop a timer.

Search Help and Tools

Allows you to quickly find help, functions and tools in these sources:


1. QM help file.
2. Floating toolbar dialogs.
3. Functions in folders \System\Functions and \System\Dialogs\Dialog Functions (only in help sections and function names).
4. Functions in specified QM folders (only in help sections and function names). To add folders, search for something and click Options in the menu.
5. Tips.
6. QM forum.
7. Internet (Google).

 

Type a search query and press Enter. It shows a menu of help topics, floating toolbar dialogs, functions and tips that contain the words. Also you can search in the forum and the Internet. Also you can send your query to an online database as a command/feature request or bug report. The search query can be a question, or a task, or words in any sequence. Finds topics that contain ALL words. Also searches for similar words, eg "get", "gets", "getting". Ignores stop-words, like "a", "to", "how", "it", and nonword characters. Does not support phrase search, operators, etc. Examples:

 

copy files
how to move a window to a monitor
acc
dialog icon
attaching toolbars to windows

Output, Find, Bookmarks, Tips

In the Output pane you can see error messages, out messages, and other notifications. Right click to view a context menu.

 

In the Find pane you can find macros, find text in current macro, replace text in current macro.

To replace all found text instances in current macro, press Ctrl and click Replace.

To insert new line, press Ctrl+Enter.

Can be used operators AND and OR. They must be in uppercase. The OR operator has higher priority.

Click Save to save the Find pane settings. Saved searches also are added to the Bookmarks pane. Click Open to load a saved search.

 

In the Bookmarks pane you can create bookmarks (shortcuts) to your macros. In the left side are bookmark folders. Right click to add/remove. In the right side are bookmarks. Right click to add/remove.

 

Saved searches also are displayed in the bookmarks pane. They are added when you click Save in the Find pane. In the right are displayed search results. They are updated every time you click the search folder at the left. Right click in the left to delete the saved search.

 

Bookmarks and saved searches are saved in bookmarks.xml file in current user's appdata folder. This macro opens the folder: run "$appdata$\GinDi\Quick Macros".

 

In the Tips pane you can learn how to work with Quick Macros.

 

When type or click a function name or some other identifier in the code editor, and then press F1, its help also may be displayed in the Tips pane.

Status bar

Here you can see mouse-related information.

 

First line: mouse pointer position in window .. window name . window class . window style, exstyle.

Second line: mouse pointer position in the screen .. program .. child window id . child window class . child window style, exstyle.

 

Here also are displayed trigger descriptions, identifier type information, and other temporary information.

Floating toolbar

To enter some often used macro commands, you can use dialogs from the floating toolbar. If the toolbar is unavailable, click the "Check extensions" button in Options and follow instructions. Currently, you can use the dialogs only to enter commands, but not to edit.

 

Dialogs are available only for some commands. Actually there are thousands of commands and functions, although many of them can be useful only for programmers or advanced users. You will have to find other commands in QM Help, or in popup lists, or using the Search Help and Tools feature, or on the Internet.

 

Many fields in the dialogs are optional. You can leave them empty. The required field always is at the top. For example, in the Run Program dialog, you can specify only the program. Various options initially are set to mostly used values, so you don't have to change them in most cases.

 

In some dialogs, you can see a Drag picture. You can drag it and drop on an object, and many dialog fields will be filled automatically (you may have to edit something in some cases).

 

In dialogs, you can use variables too. To use a variable in a dialog field where text is required, enclose it in parentheses (except when there is a checkbox or other control to specify that it is a variable). Parentheses are not necessary where numeric values are required.

Tray icon

The QM tray icon normally is blue. When QM is disabled (does not respond to triggers of keyboard, mouse and some other types), it is gray. When a macro (not a function or menu) is running, it is red.

Click to show QM window. If the tray icon is hidden (you can set this in Options), click QM shortcut (e.g., in the Start menu), or press Ctrl+Shift+Alt+Q.

Right click to show menu.

Middle click to disable or enable QM.

Ctrl+click to exit QM.