Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Register Log in

Mapkeys bound to the number pad keys

Israr

Active member
yes, you can but there are two disadvantages: one you have to remember always what 5 for example is meant for. The other disadvantage is if you use for example 2 as a mapkey then you cant use 21 or 22 as a mapkey.



Israr
 

jon.clark

New member
Israr, thanks. What I am after is a way to bind a mapkey *specifically* to the number pad keys. For example the function keys are bound to $F1, $F2, etc. Is there a way to bind to the number pad keys in the same way with a different special character?



JC
 

Brian_Adkins

Moderator
The keypad numbers send a different 'scan code' to your PC than the corresponding 'regular' numbers.



http://members.iweb.net.au/~pstorr/pcbook/book3/scancode.htm



Unfortunately, Pro/E is not really looking for scan codes, just for the key value that was pressed (i.e. 7=7)



However, if you could get windows to re-interpret the keypad for you (before it tells Pro/E what you pressed), then it might work.



Quick Google search http://www.google.com/search?hl=en&ie=UTF-8&q=macro+numeric+keypad&spell=1



found this:

http://www.iolo.com/mm/index.cfm



-Brian
 

Brian_Adkins

Moderator
Just out of curiosity, I tried that Macro Magic program with Pro/E and it worked perfectly... I made the keypad #9 spit out a drawing PDF for me. Pressing the regular 9 did nothing.



It even lets you discriminate between programs, so that Keypad-9 only runs a macro in Pro/E, but performs normally in any other application.



-Brian
 

jon.clark

New member
Thanks Brian. That is very useful info. Macro Magic looks like the solution for now. An additional variable that I didn't mention though is that I would want to role these mapkeys out to an engineer group. From an administrative perspective, one would ideally want the functionality built into ProE instead of having to install and support the utility on all workstations. I logged an SPR with PTC tech support on the issue. He said there was already one there which may be implemented in the next few builds. We'll see. Thanks again.



JC
 

kschubert

New member
here's mapkeys I've used for years (I got them from someone off the web)



!!! Map Keys

mapkey 1 #view;#names;#back;#done-return;

mapkey 2 #view;#names;#bottom;#done-return;

mapkey 3 #view;#names;#3d;#done-return;

mapkey 4 #view;#names;#left;#done-return;

mapkey 5 #view;#names;#front;#done-return;

mapkey 6 #view;#names;#right;#done-return;

mapkey 7 #view;#names;#3d;#done-return;

mapkey 8 #view;#names;#top;#done-return;

mapkey 9 #view;#default;#done-return;
 

Sponsor

Top