Quick Reference
Comments
If you wish to comment a line you can do so by using ;
as the first character in a line. Comments can't be placed in the same line with
other elements of the menu.
Example:
; This is line is ignored
Menu Items
Default elements of the menu are
menu items. If a line doesn't start with %,
@,
-,
<,
>,
:
or ;
then it's assumed to be a menu item. To be
functional, line that follows the declaration of the menu item must have >
as the character and full path of the file,
folder or Internet link you want to be opened or executed. To pass parameters to a program,
put them in the line below which will begin with the <
character. You can also set the way window
will be displayed with a new line which begins with :
character which is followed with one of the
numbers:
1 Window will be displayed normally (Default)
2 Window will be maximized
3 Window will be minimized
4 Window will be hidden
Characters that follow will be ignored.
If there is more then one line with file of folder path, parameters or window
state, only the first of each is used while others are ignored.
Example:
; Click on this menu item will start Note Pad,
; maximize the
window and open Tips.txt from c:\windows.
Note Pad
> c:\windows\notepad.exe
< c:\windows\tips.txt
: 2
Separators
Separators are used to separate one or more
menu items with a horizontal line. To insert a separator, all a line with -
as the first character. Any following
text is ignored.
Example:
; Click on this menu item will start Note Pad, maximize the
; window and open Tips.txt from c:\windows.
; & character you can see below will underline the letter
after it.
; To have this character in menu you must use &&
instead.
&Note Pad
> c:\windows\notepad.exe
< c:\windows\tips.txt
: 2
- This is a separator (characters after " - " are
ignored)
; Click on this menu will start Mine Sweeper.
Mine Sweeper
> c:\windows\winmine.exe
Submenus
To declare a submenu, add a line with %
character followed by the name of the
submenu. Each submenu you create must be closed with @
character. Everything between %
and @
is added to the submenu. All characters
after @ are
ignored as if they were comments.
Example:
; This will create a submenu
% Editors
;Another submenu...
% Strange Editors
; Below is a
menu item which does nothing...
; ...clicking
it will display an error.
A Menu Item
@
Word Pad
@ This closes the Editors submenu (characters after " @
" are ignored)