[comp.sys.mac.hypercard] Waiting for a Desk Accessory

sirkm@ssyx.ucsc.edu (Greg Anderson) (05/11/89)

I have a HyperCard script that invokes a Desk Accessory with a
"Domenu" command; I would like to wait for the user to close the
Desk Accessory and then continue with the script.

For example:

	...
	answer "AppleShare volume not mounted" with "Cancel" or "Mount"
	if it is "Mount" then
		domenu "Chooser"
		--
		--  Script commands here execute while chooser
		--  is still active
		--
	end if
	...

Is there any way to wait for the user to close the DA before continuing
with the script?

     ___\    /___               Greg Anderson              ___\    /___ 
     \   \  /   /         Social Sciences Computing        \   \  /   /
      \  /\/\  /    University of California, Santa Cruz    \  /\/\  /
       \/    \/              sirkm@ssyx.ucsc.edu             \/    \/