Options: Record

Default settings for recording.

 

Events to record - select what events must be recorded by default:

 

Keys - record keyboard events (key).

 

Mouse buttons - record mouse clicks and double clicks (lef, rig, mid, dou).

 

Mouse drag - record mouse movements while a mouse button is pressed (mou). The Mouse buttons checkbox also must be checked.

 

Mouse move - record mouse movements when mouse buttons are released (mou). Mouse movements before the first and after the last other event are not included. The Mouse buttons checkbox also must be checked.

 

Window commands - insert "window activate" (act) and "wait for window" (wait) commands. This improves macro reliability. The Keys and Mouse buttons checkboxes also must be checked.

 

Menu commands - record menu commands (men). If also recording mouse buttons and keys, recorded menu commands appear disabled (green) to avoid command doubling. In this case you should enable them (delete space at left) and remove the preceding mouse or keyboard commands that cause the menu to appear and the menu item to be selected.

 

Timing -> Fast - don't record delays. Macro will use default autodelay. Macro will run reliably in most cases, but sometimes you should insert wait commands, or set macro speed (spe).

 

Timing -> Real time - record actual delays (except between simple keys).

 

Timing -> * factor - record actual delays (except between simple keys), multiplied by the F variable. You can change F value, and this will change macro speed. For example, to run macro 4 times faster, set F=0.25.

 

Mouse coordinates - select what coordinates will be recorded - relative to window, control (child window) or screen.

 

Client - mouse coordinates will be relative to the window's client area (all except the title bar, the standard menu bar and the border). This setting also is used with "record single command" hotkey and in the QM status bar.

 

Fraction - mouse coordinates will be recorded as part of the screen or window. For example, 0.5 means half. This setting also is used with "record single command" hotkey and in the QM status bar.

 

Record text as characters - convert text key codes to characters. For example, when you type "New York", it records '"New York". If unchecked, records key codes: 'SnewVSyork (here S is Shift, V is Spacebar). However in some cases may record incorrect characters, because the active window interprets the keys differently.

 

Add header - add comments before and after recorded code.

 

Windows - show the Recording Windows dialog. When recording, if window name contains some string from the list, that string is recorded instead of full window name. For example, if the list contains "- Notepad" (without quotes), then Notepad window name will be recorded as "- Notepad" instead of "Untitled - Notepad". That is, document name will be removed automatically. Otherwise, after recording you would have to manually remove document name to make the macro not specific to that document. In the list, you also can specify a replacement string after >> (eg Notepad>>Notep) or expression after >>> (eg Notepad>>>win("Notep" "Notepad") ). This feature also is used in dialogs, when you capture or select a window.