User Tools

Site Tools


menus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
menus [2019/03/24 20:48] g00r00menus [2019/03/24 21:24] (current) – [MENU SYSTEM] g00r00
Line 1: Line 1:
 ====== MENU SYSTEM ======= ====== MENU SYSTEM =======
 +
 +^ Related Categories                        ^
 +| [[themes|Themes]]                         |
 +| [[menu_commands|Menu Command Reference]]  |
  
 ----- -----
Line 68: Line 72:
  
 === Command List === === Command List ===
 +
 When a menu is first opened for editing, the default view is the list When a menu is first opened for editing, the default view is the list
 of options defined in the menu.  This view is presented first because of options defined in the menu.  This view is presented first because
Line 105: Line 110:
 </code> </code>
  
-  * Insert   - Insert a new command +  * **Insert**   - Insert a new command 
-  * Delete   - Delete the highlighted command +  * **Delete**   - Delete the highlighted command 
-  * Copy     - Copy the highlighted command +  * **Copy**     - Copy the highlighted command 
-  * Paste    - Paste the copied command +  * **Paste**    - Paste the copied command 
-  * View     - View the generated menu. +  * **View**     - View the generated menu. 
-  * Settings - Adjust the settings of the menu+  * **Settings** - Adjust the settings of the menu
  
 === Menu settings === === Menu settings ===
Line 136: Line 141:
  
   * **Description** - Set the description of the Menu as seen in the Menu List.   * **Description** - Set the description of the Menu as seen in the Menu List.
 +
   * **Access**      - Set the ACS level required for the user to access this menu.   * **Access**      - Set the ACS level required for the user to access this menu.
 +
   * **Fallback**    - Defines a fallback menu which is loaded if the user is sent to this menu but does not meet the access requirements.  Leaving this value blank will send the user back to the menu they were last on.   * **Fallback**    - Defines a fallback menu which is loaded if the user is sent to this menu but does not meet the access requirements.  Leaving this value blank will send the user back to the menu they were last on.
 +
   * **Menu Type**   - Select either Standard, Lightbar, Lightbar/Grid, or Lightbar/Prompt   * **Menu Type**   - Select either Standard, Lightbar, Lightbar/Grid, or Lightbar/Prompt
 +
   * **Input Type**  - Select either User Defined, HotKey, or LongKey   * **Input Type**  - Select either User Defined, HotKey, or LongKey
 +
   * **Input Chars** - This defines how user input is visually represented on the menu.  If set to Uppercase, then the user input will be displayed as uppercase.  Lowercased would display as lowercase, and Hidden will hide all user input from appearing.   * **Input Chars** - This defines how user input is visually represented on the menu.  If set to Uppercase, then the user input will be displayed as uppercase.  Lowercased would display as lowercase, and Hidden will hide all user input from appearing.
 +
   * **Use Global**  - Mystic has a "global" menu, wherre menu options can be defined that will be loaded into this menu if this option is set to Yes.   * **Use Global**  - Mystic has a "global" menu, wherre menu options can be defined that will be loaded into this menu if this option is set to Yes.
 +
   * **Node Status** - Sets the text that will be displayed for the user's "status" Leaving this option blank will not set the user's status.  By default Mystic will set the user status to "Browsing menus" when the user is in a menu.   * **Node Status** - Sets the text that will be displayed for the user's "status" Leaving this option blank will not set the user's status.  By default Mystic will set the user status to "Browsing menus" when the user is in a menu.
 +
   * **Display File** - When left blank, Mystic will automatically generate a menu based on the configured menu options and the user's access to them.  However, a menu can be replaced by defining the base filename (the filename without the .asc or .ans extension) to be loaded from the Theme's text directory.  Note that "@S" can be used in the filename and will be replaced by the user's security level allowing you to create menus specific to different security levels you may wish to use on your BBS.   * **Display File** - When left blank, Mystic will automatically generate a menu based on the configured menu options and the user's access to them.  However, a menu can be replaced by defining the base filename (the filename without the .asc or .ans extension) to be loaded from the Theme's text directory.  Note that "@S" can be used in the filename and will be replaced by the user's security level allowing you to create menus specific to different security levels you may wish to use on your BBS.
 +
   * **Display Cols** - Sets the number of columns Mystic will use to format the menu options when generating a menu.  Valid options are 1-9, or H for Hidden.  The H option will not display any generated menu options on the screen.   * **Display Cols** - Sets the number of columns Mystic will use to format the menu options when generating a menu.  Valid options are 1-9, or H for Hidden.  The H option will not display any generated menu options on the screen.
 +
   * **Menu Header** - Defines the header to be displayed before the list of generated menu commands.  If left blank, no menu header will be displayed.  When the default generated menu is replaced by "Display File" then the header will not be displayed.  All MCI codes are available for use in menu headers.   * **Menu Header** - Defines the header to be displayed before the list of generated menu commands.  If left blank, no menu header will be displayed.  When the default generated menu is replaced by "Display File" then the header will not be displayed.  All MCI codes are available for use in menu headers.
 +
   * **Menu Prompt** - Defines the prompt to  be displayed after the menu is displayed.  Setting this to blank will display no prompt.  The prompt is always displayed regardless of if the menu is generated by Mystic BBS or replaced by a Display File.  All MCI codes are available for use.   * **Menu Prompt** - Defines the prompt to  be displayed after the menu is displayed.  Setting this to blank will display no prompt.  The prompt is always displayed regardless of if the menu is generated by Mystic BBS or replaced by a Display File.  All MCI codes are available for use.
 +
   * **X, Y** - The X and Y positions to park the cursor after the menu has been drawn on the screen.  These are only used in the Lightbar-type Menu types.   * **X, Y** - The X and Y positions to park the cursor after the menu has been drawn on the screen.  These are only used in the Lightbar-type Menu types.
 === Menu Types === === Menu Types ===
Line 155: Line 172:
 |Lightbar/Grid|Allows you to define the jumps between menu options based on the user's input.  It is more complicated to set up but allows for more intricate control over how menu input behaves.  The Up, Down, Left, Right, Home, Escape, Tab, PageUp, PageDown, and End fields can link to a command ID found in the menu.  When the user presses one of the keys while the command option is selected, Mystic will jump to the command ID defined for that key.  A series of menu commands can also be defined for each specific key press, and will be executed prior to jumping to the defined command ID.| |Lightbar/Grid|Allows you to define the jumps between menu options based on the user's input.  It is more complicated to set up but allows for more intricate control over how menu input behaves.  The Up, Down, Left, Right, Home, Escape, Tab, PageUp, PageDown, and End fields can link to a command ID found in the menu.  When the user presses one of the keys while the command option is selected, Mystic will jump to the command ID defined for that key.  A series of menu commands can also be defined for each specific key press, and will be executed prior to jumping to the defined command ID.|
  
-=== Command Editor === +=== Option Editor === 
-The Command Editor is used for editing the individual commands.+The Option Editor is used for editing the individual menu options.
 <code> <code>
 █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Option  #20 (account) ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Option  #20 (account) ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
Line 177: Line 194:
 </code> </code>
  
-  * Display Text - The text that is displayed in the Command List window list. +  * **Display Text** - The text that is displayed in the Command List window list. 
-  * Lightbar Low - The text that is displayed when this lightbar menu option is cold. + 
-  * Lightbar High- The text that is displayed when this lightbar menu option is hot. +  * **Lightbar Low** - The text that is displayed when this lightbar menu option is cold (deselected). 
-  * Hot Key - The keyboard keys that will activate this command.  There are many automatic  + 
-  * Access - Define the ACS string for this menu.  Use CTRL-L to see a list of non-keyboard keys that can be used. +  * **Lightbar High** - The text that is displayed when this lightbar menu option is hot (selected). 
-  * X,Y - The X,Y location for the Lightbar Low and and Lightbar High text + 
-  * Timer - Sets the number of seconds to activate the Timer-based execution or 0 to disable a time-based execution of this menu command.  +  * **Hot Key** - The key(s) that the user must enter in otder to activate this command.  When hotkey input is enabled for a menu, keys with multiple characters can be executed by typing a / before it.  When longkey input is enabled for a menu, the / key is not needed.  In other words, if the key is "RUN" then the user would type /RUN on a hotkey menu or just "RUN" on a longkey input menu.  In addition the a typical hotkey, there are some reserved words that can be used here that allow for various auto-execution type of commands or display formatting to be done that are not dependent on user input to execute.  Pressing Control+L will open up a reference of these commands. 
-  * Timer Type - Sets the type of time-based execution.  When set to "Interval" then the command will be automatically executed after <Timer> number of seconds.  When set to "OnlyOnce" the command will be automatically executed one time when the menu is loaded after <Timer> number of seconds.  When set to "PerRedraw" then the command will be automatically executed after <Timer> seconds every time the menu is redrawn. + 
-  * Redraw - If set to TRUE the menu will be redrawn after this menu selection is executed.  If set to false the menu will not be redrawn after execution. +  * **Access** - Define the ACS string required for this menu option to be executable by the user 
-  * Up, Down, Left, Right, Home, Escape, Tab, PageUp, PageDn, End - These are used only by Grid style menus and each one defines which menu command ID to switch to when the user presses the key with this command highlighted. + 
 +  * **X, Y** - The X,Y location for the Lightbar Low and and Lightbar High text 
 + 
 +  * **Timer** - Sets the number of seconds to activate the Timer-based execution or 0 to disable a time-based execution of this menu command. 
 + 
 +  * **Timer Type** - Sets the type of time-based execution.  When set to "Interval" then the command will be automatically executed after <Timer> number of seconds.  When set to "OnlyOnce" the command will be automatically executed one time when the menu is loaded after <Timer> number of seconds.  When set to "PerRedraw" then the command will be automatically executed after <Timer> seconds every time the menu is redrawn. 
 + 
 +  * **Redraw** - If set to TRUE the menu will be redrawn after this menu selection is executed.  If set to false the menu will not be redrawn after execution. 
 + 
 +  * **Up, Down, Left, Right, Home, Escape, Tab, PageUp, PageDn, End** - These are used only by Grid style menus and each one defines which menu command ID to switch to when the user presses the key with this command highlighted. 
  This allows very intricate configuration of menu selection behavior at the expense of complexity.  This allows very intricate configuration of menu selection behavior at the expense of complexity.
  
-Each command can perform several sub-tasks in a series. +Each option can perform several sub-tasks in a series when the option is selected and these tasks are defined by creating a menu command or a list of menu commands within the option Select (TAB) to toggle between the option metadata and the list of menu commands for this menu option. 
-Select (TAB) to toggle between the command metadata menu and the list of sub-commands for this command.+ 
 +=== Menu Command Editor === 
 + 
 +Many menu commands can be defined to be executed by a single menu option.  The menu commands will be activated in serial order when the menu option is activated.  This allows for multiple actions for one menu command.  Each menu command can have its own access string requirement which allows for advance techniques such as command branching.
  
-=== Sub Command Editor === +A list of menu commands can be found in the [[menu_commands|Menu Command Reference]]
-Many sub commands can be stacked in one menu command.  The sub commands will be activated in serial order when the menu command is activated.  This allows for multiple actions for one menu command.+
  
 <code> <code>
Line 206: Line 234:
 </code> </code>
  
-  *Command - Select from a picklist of available menu commands. +  * **Command** - Select from a pick list of available menu commands.  Type to search when window is open
-  *Data - The optional data field to use for menu commands that require more information. +  * **Data** - The optional data field to use for menu commands that require more information to execute
-  *Access - The ACS string to use for this sub command +  * **Access** - The access string (ACS) that the user must meet in order to execute this menu command. 
-  *Execute - Execute the sub command on which grid event.  Used only on Lightbar/Grid menus.+  * **Execute** - Used only for Grid style menus.  This command defines which hotkey the user must have pressed for this menu command to execute.
  
 ----- -----
menus.1553478539.txt.gz · Last modified: 2019/03/24 20:48 by g00r00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki