Question
SPR - Added mapkeys not showing in Ribbon - Creo 1.0-m030
- March 27, 2012
- 0 replies
- 1447 views
So I heard back from PTC about this problem today.
"I have filed a HIGH severity SPR for your issue."
You may want to try this on your systems to see if you have the same issue.
My mapkey loads a config file. It works if you type a key name, but doesn't show in the ribbon when you add it to a new Tab.
If you have been able to get a mapkey that loads a config file to work, and more importantly to show up in the ribbon, I like to hear from you, so I can figure out how to make this work.
This is my mapkey, you will need to change the hi-lited sections.
mapkey /ddn @MAPKEY_LABELDrawing Dependency NO;\
~ Select `main_dlg_cur` `appl_casc`;\
~ Close `main_dlg_cur` `appl_casc`;\
~ Activate `main_dlg_cur` `appl_menu.left_pane.options_button`;\
~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\
~ Select `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
~ Close `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
~ Activate `ribbon_options_dialog` `ConfigLayout.Open`;\
~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\
~ LButtonArm `file_open` `tb_EMBED_BROWSER_TB_SAB_LAYOUT` 3 520 18 0;\
~ LButtonDisarm `file_open` `tb_EMBED_BROWSER_TB_SAB_LAYOUT` 3 520 18 0;\
~ LButtonActivate `file_open` `tb_EMBED_BROWSER_TB_SAB_LAYOUT` 3 520 18 0;\
~ Input `file_open` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` \
`P:\\mapkey_configs\\dependency_no.pro`;\
~ Update `file_open` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` \
`P:\\mapkey_configs\\dependency_no.pro`;\
~ Activate `file_open` `opt_EMBED_BROWSER_TB_SAB_LAYOUT`;\
~ FocusIn `file_open` `EMBED_BROWSER_SEARCH_IP`;\
~ FocusOut `file_open` `EMBED_BROWSER_SEARCH_IP`;\
~ Activate `file_open` `Open`;~ Activate `ribbon_options_dialog` `OkPshBtn`;\
~ FocusIn `UITools Msg Dialog Future` `no`;\
~ Activate `UITools Msg Dialog Future` `no`;
David Haigh
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.
"I have filed a HIGH severity SPR for your issue."
You may want to try this on your systems to see if you have the same issue.
My mapkey loads a config file. It works if you type a key name, but doesn't show in the ribbon when you add it to a new Tab.
If you have been able to get a mapkey that loads a config file to work, and more importantly to show up in the ribbon, I like to hear from you, so I can figure out how to make this work.
This is my mapkey, you will need to change the hi-lited sections.
mapkey /ddn @MAPKEY_LABELDrawing Dependency NO;\
~ Select `main_dlg_cur` `appl_casc`;\
~ Close `main_dlg_cur` `appl_casc`;\
~ Activate `main_dlg_cur` `appl_menu.left_pane.options_button`;\
~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\
~ Select `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
~ Close `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
~ Activate `ribbon_options_dialog` `ConfigLayout.Open`;\
~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\
~ LButtonArm `file_open` `tb_EMBED_BROWSER_TB_SAB_LAYOUT` 3 520 18 0;\
~ LButtonDisarm `file_open` `tb_EMBED_BROWSER_TB_SAB_LAYOUT` 3 520 18 0;\
~ LButtonActivate `file_open` `tb_EMBED_BROWSER_TB_SAB_LAYOUT` 3 520 18 0;\
~ Input `file_open` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` \
`P:\\mapkey_configs\\dependency_no.pro`;\
~ Update `file_open` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` \
`P:\\mapkey_configs\\dependency_no.pro`;\
~ Activate `file_open` `opt_EMBED_BROWSER_TB_SAB_LAYOUT`;\
~ FocusIn `file_open` `EMBED_BROWSER_SEARCH_IP`;\
~ FocusOut `file_open` `EMBED_BROWSER_SEARCH_IP`;\
~ Activate `file_open` `Open`;~ Activate `ribbon_options_dialog` `OkPshBtn`;\
~ FocusIn `UITools Msg Dialog Future` `no`;\
~ Activate `UITools Msg Dialog Future` `no`;
David Haigh
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.

