Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a411 From: Peter_Francis@mindlink.bc.ca (Peter Francis) Newsgroups: comp.sys.mac.hypercard Subject: custom menus Message-ID: <6445@mindlink.bc.ca> Date: 21 Jun 91 20:53:05 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 12 I have two problems. 1 is that when I open a stack directly (ie by double clicking on the icon from the finder level) the openstack handler seems to run twice. Which is often annoying. In two stacks I create custom menuitems in openstack and am constantly facing the message "Menu X" already exists. So I have to cancel before proceding. Can I test for the existence of the menu item in the script and skip the second creation process? Similarly my addressbook stack asks me the name of the person I am looking for and finds it. It also does this twice if I open from outside HC. The second problem with the menus is that on CloseStack I use the handler "reset menubar". This takes about ten seconds (I haven't timed it but it is much longer than actually creating the menu in the first place). Can I speed this up or is there a faster way to undo my menu customization?