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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How to transfer only specific required mapkey from one config.pro to other config.pro ?

VinitKadamITT
6-Contributor

How to transfer only specific required mapkey from one config.pro to other config.pro ?

How to transfer only specific required mapkey from one config.pro to other config.pro, without affecting other mapkeys or other configuration option.

Requirement is the other configuration options are different for first config.pro file & second config.pro file.

Means replacing the config.pro solution is not required.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
3 REPLIES 3

Open the config.pro with a text editor (like notepad). Find the mapkey. Copy all the lines of the mapkey. Paste the mapkey in to the other config.pro using a text editor.

Thanks Stephen.

After finding the mapkey in config.pro using text editor, How to find the last line up to which we have to copy for perticular mapkey?

Vinit,

below you can find some examples...

If the mapkey has n lines (n>1) then:

  • lines 1..n-1 end with backslash character
  • lines 2...n start with mapkey(continued)

!*** close window ... 3 lines

mapkey ww ~ Select `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Activate `main_dlg_cur` `main_dlg_cur`;~ Close `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Command `ProCmdWinCloseGroup`;

!*** erase not displayed ... 2 lines
mapkey ee ~ Close `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Command `ProCmdModelEraseNotDisp` ;~ Activate `file_erase_nd` `ok_pb`;

!*** close window, erase not displayed ... 1 line
mapkey qq %ww;%ee

Martin Hanak


Martin Hanák
Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags