Droplets and AppleEvents

Dave dave at looktowindward.com
Tue Feb 27 12:40:24 EST 2007


Hi Jim,

Ok, that's a good idea. What I would like is to be able to have just  
one place that handles AppleEvents, I can ship the commands off to  
wherever they are needed myself (I already have the mechanism for  
this). How can I use "backScript" I've never used it before and not  
really sure how I would go about setting this up.

Many Thanks
All the Best
Dave


On 27 Feb 2007, at 17:27, Jim Ault wrote:

> On 2/27/07 8:08 AM, "Dave" <dave at looktowindward.com> wrote:
>> I added an AppleEvent handler to the Main Window Stack and I now get
>> the the AppleEvents ok. I had thought that the Splash Screen would
>> always get the message. What is the action here? If the user drops a
>> file into the Standalone Icon, where should the AppleEvent get sent?
>>
>> One other thing, I want to give my App a Creator type of CR01, but I
>> want to be able to Drop Movie Files into it. How do I go about
>> setting this up in the Standalone settings dialog.
>>
> I think one answer to your first question (I don't know the second  
> one) is
> that you can trap the event several places, just don't pass it.  One
> technique could be to put the trap in a back script and then all  
> stacks
> would be before it in the message path.  The execption could be the  
> splash
> screen.
>
> Jim Ault
> Las Vegas
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list