Header Declarations

The first line of every plugin should be the menu name that should be used. This menu name shall be placed under HackmanÆs menu which is described in the next record:

&Minor Alternative
menu=edit
extra=yes
about=yes
config=
shortcut=
icon=
uninstall=

This tells Hackman to insert a ôMinor Alternativeö menu in Edit menu. When this menu is clicked, the script file is read and executed.
The 3rd line can be used for adding a helpfile (if set to yes) or forcing the plugin to start when Hackman starts.
The 4th line tells Hackman that your plugin has an about box and runs the main executable with the /a switch.
The 5th line declares that your plugin has no configuration dialog box. If it had one, then a menu would appear in configure plugins.
The 6th line is for a future feature and should be ingored for the time being.
The 7th line is for compatibility reasons only.
The 8th line provides to the Plugin Uninstaller program the information it need in order to uninstall your plugin.

Lines starting with a semicolon (;) are considered to be comments, therefore they are ignored. Place comments in your code and leave blank lines which are also ignored in order to make your script clearer to translate and debug. Performance in not affected by the number of comments or blank lines used.


Note: the symbol ô&ö in front of ôMinorö causes a shortcut to be placed under the letter ôMö in HackmanÆs menu. When the user presses alt and moves focus to the menu bar, he can with certain keystrokes access your plugin. You should not use a keystroke already reserved.

Back.