Modifying a Mapkey
Modifying a Mapkey
(OP)
Hi all,
How on earth do I modify a previously created mapkey?
Lets say I recorded a series of clicks/keyboard entries as a mapkey, is there a way to view the code that has been saved for this key?
Lets say there are 20 mouse clicks and now I decide that mouse click #18 needs to be different, instead of re-recording the long process, is there a way to go in and just change mouse click #18?
Also if I recieve a mapkey from someone and need to know howit works, how can I interogate it to see the commands used?
Many thanks in advance.
Jon Reynolds
How on earth do I modify a previously created mapkey?
Lets say I recorded a series of clicks/keyboard entries as a mapkey, is there a way to view the code that has been saved for this key?
Lets say there are 20 mouse clicks and now I decide that mouse click #18 needs to be different, instead of re-recording the long process, is there a way to go in and just change mouse click #18?
Also if I recieve a mapkey from someone and need to know howit works, how can I interogate it to see the commands used?
Many thanks in advance.
Jon Reynolds





RE: Modifying a Mapkey
Text editor.
> modify
It ~can~ be done if you speak the language. (I don't.)
Search the forum. I think there've been some really informative
discussions on the subject. Search the web as well. Seems I've
seen some interesting articles on Olaf Cortenson's site and / or
synthix.com (spelling may be incorrect on either) re the subject.
Long and short; unless you want to invest the time researching the
subject and learning syntax, re-record the mapkey. I recommend
saving it to a new file and manually (text editor) replacing the
version that's stored in config.pro (vs. Modifying it with the
mapkey recorder) after 'debugging' it.
RE: Modifying a Mapkey
RE: Modifying a Mapkey
Viewing it in a text editor is fine...but where do I find the mapkey to open in the text editor? Is it stored within the config.pro?
RE: Modifying a Mapkey
it will follow the format of something like
mapkey p1 ~ Activate `main_dlg_cur` `ProCmdFtExtrude.a_feat`;\
mapkey(continued) ~ Input `main_dlg_cur` `maindashInst0.def_depth1_ip` `5`;\
mapkey(continued) ~ Update `main_dlg_cur` `maindashInst0.def_depth1_ip` `5`;\
......
so on and so forth
and if you want a mapkey to call a mapkey..use % before the mapkey name
mapkey bb %wd;%ex;%rx;
RE: Modifying a Mapkey
If you want to view the PRo/E code lines as you create a Mapkey or use Pro/E you can use the
tail -f trail.txt.## command in a dos window which I believe you can get a Windows download for which will show you the end of your trailfile as it's being created. Using this is how I found out that PRo/E's new selection tool was poorly written because it uses Location of selection type in list as the command. So Feature select is different between Assembly and Part modes. Once you get in the habit of editing these you'll soon know how to read Pro/E. For any kind of mapkey that involves entering text or browsing to files you can use the Pause option and have descrptive messages and Mapkey Guide Info to help out any users.
Michael
RE: Modifying a Mapkey
Thanks for all other replies too.
Jon