On Oct 12, 2004, at 4:49 AM, Yves COPPE wrote:

Hi,

On MAC OS X

I have a stack with substacks

the stack script is

start using stack "tScripts"


(stack "tScripts" contains all my functions and commands)

I place in stack "tScripts" a command

on shutdownrequest

when I quit from the application menu, the script "shutdownrequest" runs 2 times ????

can you help me ??

I put in the file menu:

case "Quit [name of app]"
   quit
   break


At the mainstack level:

on closeStackRequest
   quit
end closeStackRequest


on shutDownRequest
answer "Are you sure you want to quit [name of app]?" with "No" or "Yes"
if it is "Yes" then
pass shutDownRequest
else
exit to top
end if
end shutDownRequest



I use this for all platforms and it works like a charm!

--
Best regards,
Mark Talluto
http://www.canelasoftware.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to