Skip to main content
12-Amethyst
March 18, 2015
Question

Mapkey to toggle browser?

  • March 18, 2015
  • 1 reply
  • 2936 views

Hallo,


anyone could tell which are the mapkey strings to insert in the config.pro in order to have a mapkey that toggles the browser? (in Creo Parametric 2.0)

thanks


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.

1 reply

Mahesh_Sharma
22-Sapphire I
March 18, 2015

Tommaso,



You can try below mapkey, keyword is X.

mapkey X @MAPKEY_LABELopen/close browser;\

mapkey(continued) ~ Activate `main_dlg_cur` `BrowserOpenCloseChkBtn`;




tleati12-AmethystAuthor
12-Amethyst
March 18, 2015

I have to retrieve a little my first enthusiasm ...under certain circumstances it doesn't work and I really can't describe in which cases and for which reasons...

it's strange indeed, all I know is that in some cases, (before your suggestion some time ago I had put the browser icon in the bar under the ribbon (the keys Alt+5 are associated to it)) while Alt+5 works, the x button doesn't...

as soon as (and if) I can get further information I will keep you up-to-date

bye bye

1-Visitor
March 19, 2015

I find that the recorded mapkeys are often flakey - they are prone to failing when the GUI state changes.

It takes a more investigation but it's worth finding the actual ProCmdxxxxxxx function that does what you want to do - calling these is usually more robust.


In your case, try the following mapkey:


mapkey X @MAPKEY_NAMEToggles between showing and hiding the Web Browser;@MAPKEY_LABELShow/Hide Browser;\

mapkey(continued) ~ Command `ProCmdBrowserBtn` -1;

(It's working right now in my Creo 2.0 M140 session , but note: in my configuration, I have my browser launch in a separate window.)

Good luck!