Skip to main content
14-Alexandrite
August 10, 2023
Solved

Listing Mapkeys

  • August 10, 2023
  • 4 replies
  • 3245 views

Hello,
I'm wondering if it's possible to extract all mapkeys from a config.pro file and transform it to csv or xls file.
In order to sort all of them (mapkeys keys and descriptions).
I would like to clean all my config.pro files and test.
Thanks !

Best answer by lhoogeveen

Sounds like the "Mapkey Manager.xlsm" from this post might be similar to what you're looking for - https://community.ptc.com/t5/System-Administration/Managing-Many-Mapkeys/td-p/449765.

 

Always be wary of VBA files from the internet though. You can preview the code before enabling the VBA macros using ALT-F11.

4 replies

tbraxton
22-Sapphire II
22-Sapphire II
August 11, 2023

It is certainly possible to do this with some programming. Why not just use one of the better text editors such as Notepad++ and manipulate the text format directly. There are some customizations for Creo available for Notepad++ which may be helpful to you.

 

https://notepad-plus-plus.org/ 

23-Emerald III
August 11, 2023

The configuration files are just plain text files. Any text editor can open the files and you can manipulate the information from there.

24-Ruby III
August 11, 2023

Hi,

what about this ... please replay video

14-Alexandrite
September 3, 2023

Thank you, nice and simple solution !

17-Peridot
August 18, 2023

Sounds like the "Mapkey Manager.xlsm" from this post might be similar to what you're looking for - https://community.ptc.com/t5/System-Administration/Managing-Many-Mapkeys/td-p/449765.

 

Always be wary of VBA files from the internet though. You can preview the code before enabling the VBA macros using ALT-F11.

14-Alexandrite
September 3, 2023

Thanks, 
I can't find how to enable Macro, right now.
But I will look more in detail.

24-Ruby III
September 4, 2023