Mapkey with scripts in the middle?
Currently on Creo 10, but I think the question applies to many versions.
I want to Creo to execute a script file near the beginning of the mapkey. I can make it work at the end. (The case below is just an example,)
I can make it work at the end.
mapkey w1 @MAPKEY_NAMEChange display to creo Colors;\
mapkey(continued) @MAPKEY_LABELChange to Creo Colors;~ Select `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdRibbonOptionsDlg` ;\
mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `colors_layouts`;\
mapkey(continued) ~ Open `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu`;\
mapkey(continued) ~ Close `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu`;\
mapkey(continued) ~ Select `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu` 1 `1`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`;\
mapkey(continued) @SYSTEMC:\\TEMP\\test.bat;
But I would like to do it at the begining
mapkey w1 @MAPKEY_NAMEChange display to creo Colors;\
mapkey(continued) @MAPKEY_LABELChange to Creo Colors;\
mapkey(continued) @SYSTEMC:\\TEMP\\test.bat;\
mapkey(continued) ~ Select `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdRibbonOptionsDlg` ;\
mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `colors_layouts`;\
mapkey(continued) ~ Open `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu`;\
mapkey(continued) ~ Close `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu`;\
mapkey(continued) ~ Select `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu` 1 `1`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`;

