Question
Mapkey Question
Mapkey Gurus,
I have a mapkey for storing that first purges and then saves. It has worked for many years of releases but now in WF2 (M090) it doesn't pick up the "OK" that would complete the save. In the past two semicolons together was the equivilant of "return". I've tried manually placing that at the end of the mapkey definition and it still doesn't work. I even created a mapkey that just recorded me picking the "OK" button on the save dialogue box and called it "test". After I start my save mapkey and it stops just shy of the "OK" then I type "test" and sure enough the "OK" button gets pressed and the save is complete. OK so now all I have to do is copy the working contents of the mapkey "test" onto the end of my "st" (store) mapkey. Still doesn't work. I must be missing something simple.
Here's the mapkey definition:
mapkey st ~ Select `main_dlg_cur` `MenuBar1`1 `File`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Select `main_dlg_cur` `File.cb_file_delete`;\
mapkey(continued) ~ Close `main_dlg_cur` `File.cb_file_delete`;\
mapkey(continued) ~ Activate `main_dlg_cur` `psh_purge`;;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdModelSave.file` `OK`;
Thanks in advance for any help,
Gary Whalen
I have a mapkey for storing that first purges and then saves. It has worked for many years of releases but now in WF2 (M090) it doesn't pick up the "OK" that would complete the save. In the past two semicolons together was the equivilant of "return". I've tried manually placing that at the end of the mapkey definition and it still doesn't work. I even created a mapkey that just recorded me picking the "OK" button on the save dialogue box and called it "test". After I start my save mapkey and it stops just shy of the "OK" then I type "test" and sure enough the "OK" button gets pressed and the save is complete. OK so now all I have to do is copy the working contents of the mapkey "test" onto the end of my "st" (store) mapkey. Still doesn't work. I must be missing something simple.
Here's the mapkey definition:
mapkey st ~ Select `main_dlg_cur` `MenuBar1`1 `File`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Select `main_dlg_cur` `File.cb_file_delete`;\
mapkey(continued) ~ Close `main_dlg_cur` `File.cb_file_delete`;\
mapkey(continued) ~ Activate `main_dlg_cur` `psh_purge`;;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdModelSave.file` `OK`;
Thanks in advance for any help,
Gary Whalen

