Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Since the config option to run mapkeys without graphics has been rendered useless by the GUI interface changes I need to determine some rules for editing mapkeys to not invoke the GUI when they run. Does anyone have any insight into how to do this without trial and error of every line recorded when creating mapkeys?
I have cmdmgr_trail_ouput yes configured.
Here is one example of a mapkey that imports a config.pro file to control datum display but when it runs it is of course opening the GUI. I don't want any GUI objects invoked when running this.
mapkey eio @MAPKEY_NAMEDTM Display ON;@MAPKEY_LABELDTM Display ON;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 1085 766 71696486 0 1451 863 1920 1200 \
mapkey(continued) 378604 `Alt+F`;~ Select `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdRibbonOptionsDlg` ;\
mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\
mapkey(continued) ~ Select `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
mapkey(continued) ~ Close `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `ConfigLayout.Open`;\
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\
mapkey(continued) ~ Select `file_open` `Ph_list.Filelist` 1 `dtm_on_config.pro`;\
mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `dtm_on_config.pro`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`;
By "invoking GUI" you mean you don't want the dialog boxes to appear? If so then your only choice is to use one of the APIs
In the mean time you can up vote this idea:
This is what I use for turning csys on/off;
!THIS MAPKEY TOGGLES THE CSYS DISPLAY
mapkey dc @MAPKEY_NAMEDISPLAY CSYS;@MAPKEY_LABELDISPLAY CSYS;\
mapkey(continued) ~ Command `ProCmdEnvCsysDisp` 1;
You can replace it with "Command `ProCmdEnvDtmDisp` 0;"