EMACRO - Set pre-Save Macro
Syntax
EMACRO |
[ NONE ] | Macro-name ] [ ? ] [ ON | OFF ] ] |
Operands
NONE |
Will nullify any existing EMACRO string. |
? |
Display the current status of the setting. |
Macro-name |
The Macro command you wish invoked. If ON or OFF are specified, they indicate: ON - The macro is activated and will be used on each file save. OFF - The macro name is saved, but is "dormant", it will not be used on file save. |
Description
The EMACRO command allows you to specify a Macro which will be run immediately before anf SAVE of the file.
NONE If EMACRO is issued with no operands, it will simply display the current EMACRO setting. Therefore, in order to nullify an existing EMACRO NONE is used to represent the "" condition.
The effect of EMACRO will be seen the next time a file using this profile is saved.
Actions when only some operands are entered
- When only Macro-name is entered
If no current Macro-name, ON is assumed
If there is a current Macro-name, the existing ON/OFF state is assumed.
- When only ON/OFF is entered
If no current Macro-name, an error message is displayed
If there is a current Macro-name, it is kept and the new ON/OFF setting saved.
- When NONE is entered, any other operands are ignored, and any existing Macro-name is nullified.
Created with the Personal Edition of HelpNDoc: Elevate Your Documentation with HelpNDoc's Project Analyzer Features