reverrorreport with appleevent "aevtquit"

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

reverrorreport with appleevent "aevtquit"

Post by jmburnod » Mon Dec 20, 2010 10:34 am

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
Attachments
reverrorreport.png
reverrorreport.png (14.13 KiB) Viewed 2402 times
https://alternatic.ch

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: reverrorreport with appleevent "aevtquit"

Post by bn » Mon Dec 20, 2010 12:13 pm

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

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: reverrorreport with appleevent "aevtquit"

Post by jmburnod » Mon Dec 20, 2010 10:00 pm

Hi Bernd,

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

I search, i search i search...

All the best

Jean-Marc
https://alternatic.ch

Post Reply