mw.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
mcqrresvar
<Index>               <Back>               <Exit>
─────────────────────────────────────────────────
MACRO RESERVED VARIABLES
 
Res. Variable:     Description:
selection          Contents of the current
                    selection. TYPE: text
                    string, number, or date.
scrap              Current contents of the scrap.
                    TYPE: text string, number,
                    or date, as for selection.
                    SET: yes.
field              Value of the active option
                    in a menu or dialog box.
                    TYPE: text string, number,
                    or date.
found, notfound    Used to test the result of a
                    search. TYPE: Boolean (true
                    or not true).
save               Is true if Word's SAVE message
                    is displayed. TYPE: Boolean.
window             Number of the active window.
                    TYPE: number. SET: yes.
                    VALUES: 0-10. Use to jump to
                    specific window.
help               Detects if current window is
                    Help window. TYPE: Boolean.
page               Value of the current page
                    number. TYPE: number.
checked            Detects if command is checked.
                    TYPE: Boolean.
echo               Controls visible updating of
                    screen while a macro runs.
                    TYPE: text string. SET: yes.
                    VALUES: "on" or "off".
                    Example: «SET ECHO="off"»
                    (Screen not updated, macro
                    runs faster.)
promptmode         Controls whether responses to
                    prompts are taken from the
                    user, the macro, or ignored.
                    TYPE: text string. SET: yes.
                    VALUES: "user," "macro," or
                    "ignore."
wordversion        Current version of Microsoft
                    Word. TYPE: number.
maximized          Detects if the current window
                    is enlarged. TYPE: Boolean.
endmark            Detects if cursor is located
                    at the last character in the
                    document. TYPE: Boolean.
currentdir         Current directory. TYPE:
                    text string.
programdir         Location of WORD.EXE. TYPE:
                    text string.
startupdir         Location where you started
                    Word. TYPE: text string.
dialogtitle        Use to find name of open
                    dialog box. TYPE: text string.
Word5keys          Turns Word 5.0 function keys
                    off for duration of macro.
                    TYPE: text string. SET: yes.
                    VALUES: "on" or "off".
InsOvertype        Restores default behavior for
                    Insert and Delete keys for
                    duration of macro. TYPE:
                    text string. SET: yes. VALUES:
                    "on" or "off".
 
More Help: <Macro Quick Reference>
 
Using Manual: Ch. 22, "Macros"