Droplet app with AppleEvent

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Nov 2 06:45:54 EST 2006

Hello Zax,

I'll send you a simple stack and, to be absolutely sure you have the  
same as I have, the standalone for that stack, built in Rev 2.7.4.  
Please, let me know what you get in the window of that standalone  
when you drop a file onto the application icon.

The script in the stack script of that stack is:

on appleEvent theClass,theEvent,theSender
   put theClass & return & theEvent & return & theSender & return &  
return into myData
   request appleEvent data
   put it after myData
   put myData into fld 1
end appleEvent




Consultancy and Software Engineering

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz

Op 2-nov-2006, om 10:53 heeft Zax het volgende geschreven:

> I just downloaded version 2.74 and I still have thes ame problem  
> ("applevent"
> is received and well trapped *only if my app is already launched*.
> Otherwise, when I drop a file onto my app's icon, it launches my  
> app by
> doesn't receive any apple event :(
> So, what am I doing wrong?
> I tried with the timer (even when increasing the time) but it  
> doesn't appear
> to be a right solution because the first "appleEvent" is not received.
> Thanks for tou help!

More information about the Use-livecode mailing list