HI,
I am setting up mapkey to create a named view. I can make the mapkey for creating the thumbnail view easily. See the code below.
mapkeytn @MAPKEY_NAMEcreated the thumbnail named view for IFS thumbnail;\
mapkey(continued) @MAPKEY_LABELthumbnail view;~ Command `ProCmdViewVisTool`
mapkey(continued) ~ Select `visual_dlg0` `RadioSelApplMgr` 1 `orientation`;\
mapkey(continued) ~ Activate `visual_dlg0` `ZoneNmCreate`;\
mapkey(continued) ~ Update `visual_dlg0` `Table_INPUT` `thumbnail`;\
mapkey(continued) ~ Activate `visual_dlg0` `Table_INPUT`;~ Activate `visual_dlg0` `CloseBtn`;
Now what I would like to do is set up this mapkey so that if you use it again, it saves the view. I have done a little bit with combining mapkeys to get them to work in different contexts, but that works because the one not being used simply gets skipped over in the wrong context. If I were to make another mapkey to save the current view and then smoosh them together, the first one would start working and screws things up. Is there a way to check the named views and if "thumbnail" already exists, then it saves the view, and if it doesn't it creates it?
Thanks,
Brandon