Page 1 of 1

reverrorreport with appleevent "aevtquit"

Posted: Mon Dec 20, 2010 10:34 am
by jmburnod
Hi All,

I have an "reverrorreport" when i quit by the quit menu or by command-Q
on a standalone rev 4.0.
No error if i quit by a btn "quit"

Code: Select all

on appleEvent theClass,theID,theSender --•• quit par menu
   put theclass & theID into bufAE
   if bufAE is "aevtquit" then
      debQuitter
   end if
end appleEvent

on debQuitter --•• from btn "Quit"
   open cd "Sommaire"
   send "FaitSortie" to cd "Sommaire"
   savePref
   quit 
end debQuitter
Best regards and thank at all

Jean-Marc

Re: reverrorreport with appleevent "aevtquit"

Posted: Mon Dec 20, 2010 12:13 pm
by bn
Hi Jean-Marc,

could you post a small stack that shows what exactly it is you are doing. Right now I don't understand it very well.

Kind regards

Bernd

Re: reverrorreport with appleevent "aevtquit"

Posted: Mon Dec 20, 2010 10:00 pm
by jmburnod
Hi Bernd,

I have done a little stack but it work well :oops:

I search, i search i search...

All the best

Jean-Marc