cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Re: Hw to create Mapkey ???

VladimirPalffy
14-Alexandrite

Re: Hw to create Mapkey ???

1. Click Tools ▶ Mapkeys from the menu bar. The Mapkeys dialog box opens.
2. Click New. The Record Mapkey dialog box opens.
3. Type the key sequence that is to be used to execute the mapkey in the Key Sequence text box.
Note
To use a function key, precede its name with a dollar sign ($). For example, to map to F3, type $F3.
4. Optional: Type the name and description of the mapkey in the appropriate text boxes.
5. Click the Pro/E tab. Specify how the system must handle the prompts when running the mapkey by selecting one of the following options:
● Record keyboard input—(default). Record the keyboard input when defining the mapkey and use it when running the macro.
● Accept system defaults—Accept the system defaults when running the macro.
● Pause for keyboard input—Pause for keyboard input in the message area in response to a prompt while running the macro.
Note
The Pause for keyboard input option waits for you to enter a value wherever an user input is required while recording the macro.

6. Click Record and start recording the macro by selecting menu commands in the appropriate order.
7. If you create a new mapkey that contains actions that open and make selections from dialog boxes, when you run the mapkey, Pro/ENGINEER does not pause for user input whenever the dialog box opens. To pause for user input into dialog boxes, click Pause in the Record Mapkey dialog box to indicate when to pause while recording the mapkey. The Resume Prompt dialog box opens.
8. Type the prompt in the Resume Prompt dialog box. Then click Resume and proceed recording the mapkey.
9. Click Stop when finished recording the macro.
10. Save Mapkey to config.pro (Save Mapkeys field >> Changed)

Best Regards,
Vladimir Palffy
0 REPLIES 0
Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags