« CADopia - Loading menu files | Main | CADopia - Creating a new toolbar »

Monday, May 28, 2007

CADopia - Creating custom shortcut menus

With CADopia, you can create a custom shortcut menu for commands you want to use frequently. You access the shortcut menu by holding down the Shift key and clicking the right mouse button or by clicking the mouse wheel (if you have one). Using any ASCII text editor, you construct the menu to conform to the Custom shortcut menu syntax and definitions as shown here:

***MENUGROUP=group_name
***POP0
     **menu_name
     [menu_name]
     ID_item_name [item_string]command

***HELPSTRINGS
ID_item_name[help_string]

Shortcut menu syntax and explanations

Item

Explanation

group_name

Menu group name.

menu_name

Shortcut menu name.

item_name

Menu item name.

item_string

Menu item string (typically, the command name). The menu item string appears in the shortcut menu. To specify an access key for a command, insert an ampersand (&) immediately before the letter you want to use as the access key. Do not assign the same access key to more than one command.

command

Command string. Begin the command string with "^C^C" (e.g., ^C^C_LINE) unless the command is transparent.

help_string

Help string. The text in the help string appears in the status bar when you place the cursor over the menu item.

Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment