Menu 0.82
Nathan MooreStep.rc Settings
- MenuPrefix <text>
-
All other step.rc settings are read by menu prefixed with the given text, including the * lines. For example if the string Fred is given for this setting menu will look for settings like *Fred and FredNoTitles. By setting this to Popup or bPopup menu can masquerade as either of those modules. The rest of this document uses "[Prefix]" to represent the text given in this setting. This is a breaking change from the previous version.
Default: Menu
- [Prefix]NoTitles
- Do not show menu headers. This setting is also found in Popup2, however unlike in Popup2 if this is present no menu headings will be shown on top level menus.
- [Prefix]ShowExtension
- Show file name extensions on items in a !PopupDynamicFolder, !DynamicFolder, or a !PopupFolder. This setting is also found in Popup2.
- [Prefix]AutoColumn
- Makes generated menus use multiple columns instead of scrolling.
- [Prefix]HorzAnimation <off, right, left>
-
Controls the way the menus is animated when displaying. If menu animation is turned off at the system level these settings have no effect. Any on position will result in the "Fade Effect" if it is enabled at the system level.
Default: off
- [Prefix]VertAnimation <off, up, down>
-
See [Prefix]HorzAnimation
Default: off
-
[Prefix]HorzPosition <left, center, right>
-
Controls were the menu is drawn relative to the mouse. Popup2 offers these as bang command paramaters.
Default: left
-
[Prefix]VertPosition <top, center, bottom>
-
See [Prefix]HorzPosition
Default: top
- [Prefix]HotlistName <text>
-
Default: Litestep
* Lines
Popup2 allows a .icon setting in the * lines while menu does not support icons if these are left in menu will simply ignore them.
Menu allows you to specify multiple popup menus. These popups are described by *[Prefix] lines which form a hierarchy detailing the exact entries of your popup. The top level of the hierarchy is defined by a pair of lines like:
- *[Prefix] "Header" !New !"BangName"
- Other *[Prefix] lines
- *[Prefix] ~New
- *[Prefix] !New !"BangName"
- Other *[Prefix] lines
- *[Prefix] ~New
Between the two new line goes a varitey of differnt lines. There is only one other setting that requires more than one line. It looks like this:
- *[Prefix] "FolderName" Folder
- Other *[Prefix] lines
- *[Prefix] ~Folder
Single Item
- *[Prefix] "Name" "X:\Path\to\a\program\or\a\file" "exe cmdline arguments"
- *[Prefix] "Name" "!BangCommand"
When selected from your popup these will cause the file or bang command to be executed (or opened). A right click on the entry will cause the context menu for the file to be displayed. Bang Commands do not have context menus.
- *[Prefix] "Format String" !DateTime
This creates a entry reflecting the current time, updating immeditly before display. The format string is specified as described here
- *[Prefix] !Separator
Insert a standard windows' menu separator into the menu.
Automaticly Generated folders
- *[Prefix] "never see this" "!PopupFolder:C:\Litestep\" insert
All of these folder types can be inserted into the current menu, rather than into their ownd submenu, by placing the word insert at the end of the their line. For details on !PopupFolder keep reading.
- *[Prefix] "Name" "PopupFolder:X:\Path\to\a\folder\"
- *[Prefix] "Name" "PopupDynamicFolder:X:\Path\to\a\folder\"
- *[Prefix] "Name" "DynamicFolder:X:\Path\to\a\folder\"
Creates a submenu contain the contents of the given folder. The two dynamic versions reload the contents of the menu before each display. The nondynamic version loads the contents of the folder before the first display and caches it util a recyle or the module is reloaded.
- *[Prefix] "Name" !PopupControlPanel
- *[Prefix] "Name" !PopupMyComputer
- *[Prefix] "Name" !PopupNetwork
- *[Prefix] "Name" !PopupPrinters
- *[Prefix] "Name" !PopupRecentDocuments
- *[Prefix] "Name" !PopupRecycleBin
- *[Prefix] "Name" !PopupTheDesktop
- *[Prefix] "Name" !PopupConnections
These create a dynamic folder listing the contents of a virtual shell folder. For these items the "Name" can be omited and Menu will autodected the name of the folder.
- *[Prefix] !RemoteAmp "Name"
Creates a submenu that has previous, play, pause, stop, next controls for winamp. If name is a path to a image, as popup2 uses the default text is used.
- *[Prefix] "Name" !PopupTasks
Creates a submenu that contains the current contents of the taskbar.
Formating Items
- *[Prefix] !Column
Indicates a column break.
Sample Config
- *[Prefix] "Sample Config" !New "!MenuSample"
- *[Prefix] "Sample Bang" "!alert Sample"
- *[Prefix] "Command Prompt" "C:\windows\system32\cmd.exe" "/K cd /D C:\"
- *[Prefix] "Sample Folder" Folder
- *[Prefix] "You never see this text" !PopupTasks insert
- *[Prefix] !Separator
- *[Prefix] "Tile Horizontal" !TileWindowsH
- *[Prefix] "Tile Vertical" !TileWindowsV
- *[Prefix] ~Folder
- *[Prefix] !Column
- *[Prefix] !PopupTheDesktop
- *[Prefix] "C:\" "!PopupDynamicFolder:C:\"
- *[Prefix] ~New