On 11/23/03 4:47 PM, R. Hillen wrote:

Hello list,

if I start a RunRev-standalone on OSX, it appears as an icon in the dock and can be quitted from there.

Somebody knows, which message is sent, if I use the dock to quit the standalone, so that I can do the final things (like save changed data) before the application quits?

I think it sends an AppleEvent. You'd need to write an appleEvent handler to catch it, like this:


on appleEvent theClass,theID
  if theClass is "aevt" and theID is "quit" then
    -- do your stuff here
  end if
  pass appleEvent
end appleEvent

There is more if you look up "appleEvent" in the dictionary.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com

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

Reply via email to