Main Menu

Creates a main menu for the application. The structure of the menu is defined as an indented text (with spaces) representing the menu's structure.

File
 Open
 Save
Edit
 Command 1
  Sub Command 1
  Sub Command 2
 Command 2 

menu structure

The menu structure is defined as an indented text. Each line represents a menu item. Sub-menus are defined by indenting the menu item with spaces.

Additional Options

images

The tag image= add an image at the left of the menu item. Images must be present in the Usine package or specified as an absolute path. Image names must not contain the comma character.

File
 Open,image=open.png
 Save,image=c:\users\test\images\save.png

shortcuts

To set a shortcut for the menu item, set the shortcut= tag.

File
 Open,shortcut=Ctrl+O
 Save,shortcut=Ctrl+S
 Save All,shortcut=Shift+Ctrl+S

The allowed shortcuts modifiers and special characters are:

  • Cmd+
  • Shift+
  • Alt+
  • Ctrl+
  • BkSp
  • Tab
  • Esc
  • Enter
  • PgUp
  • PgDn
  • End
  • Del
  • Home
  • Left
  • Up
  • Right
  • Down
  • F1..F12

To avoid shortcut conflicts with the main Usine's shortcuts, activate the setup-panel-tab-expert disable-all-key-learn option

checkbox

With the tag checkbox the menu item is defined as a checkbox.

Options
 Auto Save,checkbox
 Snap to grid,checkbox
 Lock,checkbox

mixed options

Additional options can be mixed. They must be separated by commas ,.

Options
 Auto Save,checkbox,image=save.png,shortcut=Alt+Enter
 Snap to grid,checkbox,image=snap.png,shortcut=Shift+Alt+Enter

separator

If the caption of the menu is - (hyphen) the menu item becomes a separator line.

File
 Open
 Save
 -
 Save All
Common Settings

info

show manual

Opens the web browser to display information or help about the selected object, if it exists.

For more details about information/help creation, see create-help-file.

description

Description of the module for internal help purposes only. The description is not displayed in the interface.

ID's

visible only in god mode, see setup-panel-tab-expert.

unique ID

Current private ID for this control used to identify the object.

preset ID

Current private preset ID for this control used for presets.

recreate ID

If you experience difficulties in Polyphonic mode, try to recreate new id(s) with this button.

repair ID s

Each Patch shared on the local network uses its own ID (identification number). If you experience issues of Patches that don't send information to the good target, this button will rebuild all these id's.

Object Remote Address

absolute

Absolute remote address. see objects-address.

local

Local to the current patch remote address. see objects-address.

user addr

User defined remote address. see objects-address.

See also

version 7.0.250121

Edit All Pages