progeCAD Professional manual The low-cost alternative to AutoCAD

Index



Do you want to try progeCAD Professional?
Download the trial: you can try the product, without any limit, for 30 days!

A manual page a day... Click here to see the manual table of contents.

Customizing progeCAD - Customizing menus

Creating custom shortcut menus

With progeCAD, 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.

To create a custom shortcut menu
  1. The following example describes how to build a custom menu that includes line , hatch , dtext , circle , and erase commands.
  2. Open any ASCII text editor.
  3. Type the following characters exactly as shown here:

***MENUGROUP=example
***POP0
**progeCAD
[progeCAD]
ID_Line [Line]^C^C_line
ID_Hatch [Hatch]^C^C_hatch
ID_Dtext [Dtext]^C^C_dtext
ID_0 [Circle Rad]^C^C_circle
ID_Erase [erase]^C^C_erase

***HELPSTRINGS
ID_LINE [Draws a line]
ID_HATCH [Fills an enclosed area with a nonassociative hatch pattern]
ID_DTEXT [Displays text on screen as it is entered]
ID_CIRCLE [Creates a circle]
ID_ERASE [Removes objects from a drawing]

  1. Save the file as example.mnu to the progeCAD folder.
To use the custom shortcut menu
  1. Open progeCAD.
  2. Do one of the following:
  3. Choose Tools > Customize > Menu.
  4. Type customize and press Enter.
  5. Click the Menus tab.
  6. Click Import.
  7. Select the custom shortcut menu file.
  8. Select the Append To Current Menu check box, and then click Open.

If you don't select this box, the custom shortcut menu deletes all current menus.

  1. Click Close.
  2. Select an entity in your drawing, and then hold down Shift and click the right mouse button.
  3. Click the shortcut command that you want.