Menu

In-Program Variables

Nick Virag

Variables

The following variables can be used as input into items or as inside of items:

%PROGRAMPATH%

The path to the directory that holds the FlashMenu executable. This is will not include the name of the executable itself.

%SETTINGSDIR%

The path to the directory that holds the settings files for FlashMenu.

%DEFAULT1%

The path to the default icon for new groups.

%DEFAULT2%

The path to the default icon for new programs.

%SLASH%

The path separator slash.
Windows: \
Unix: /

%NULL%

Empty variable. Use this instead of "" when creating item types that have an empty field.

%CMD%

The input that is sent to the add item dialog.

%NEWGROUP%

The path to the new group icon.

%ADDITEM%

The path the the add item icon.

%ICON:%

The path to any of FlashMenu's default icons. When distributing custom add item types, it is recommended to use one of FlashMenu's provided icons instead of providing one.
The format is: %ICON:value%

Examples:
"%ICON:calculator%"
"%ICON:news%"

All possible values:


ID Purpose
address ...... addresses and database information
audio ........ audio files and programs
calculator ... math related files and programs
calendar ..... date keeping/organization
default1 ..... default group icon (use %DEFAULT1% instead)
default2 ..... default item icon (use %DEFAULT2% instead)
design ....... structure/engineering related
development .. software design/programming
document ..... word processing files (use "office" for programs)
email ........ email clients or addresses (use "messaging" if not email related)
filemanager .. file management
games ........ game files or programs
generic ...... misc. programs
graphics ..... image editing programs (use "image" for image viewing or image files)
image ........ image files or image viewing programs (use "graphics" for image editing)
internet ..... internet-related programs (use "internetlink" for web links and "webbrowser" for internet browsers)
internetlink . web page files or links to web page files
messaging .... messaging programs or links (use "email" for email)
monitor ...... system administration/task management
multimedia ... movie viewing or editing programs (use "video" for files)
news ......... news documents, programs, or links
office ....... office programs (use "document" for files)
package ...... installer or compressed file
presentation . presentation files and programs
script ....... script/terminal programs
spreadsheet .. spreadsheet files and programs
system ....... settings/configuration files and programs
terminal ..... command line shell programs
text ......... simple text files
texteditor ... simple text editors
video ........ video files (use "multimedia" for viewing or editing software)
webbrowsing .. internet browser programs (use "internetlink" for web links and "internet" for other internet programs)

%DIV%

variable divider, non-standard

%DIV1%

variable divider, non-standard


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.