Open application when file double clicked

Richard Gaskin ambassador at fourthworld.com
Tue Feb 24 21:56:46 CET 2015


J. Landman Gay wrote:

> On 2/24/2015 1:53 PM, Richard Gaskin wrote:
>> How do you handle your documents on Mac without aevt/odoc?  Why is this
>> bug one that's only being filed now?  Do all of you who make
>> document-centric apps put your ae handlers in frontScripts?  No one else
>> has seen this but Peter and me?
>
> Well, in my case, I haven't written a document-centered app in some
> years. But back when I did use an appleEvent, it worked. And if I
> remember right, I put the handler into the stack script.
>
> If I could remember which app that was I'd go look, but it's been so
> long I can't even remember that. But there was no bug back when I was
> doing it.

Was that in MetaCard?

I first discovered this issue years ago while I was still working with 
MC.  I made a stack demonstrating a certain technique involving AE for a 
client, and it worked great when I built the standalone in MC so I 
shipped it to him.

Later after he tried it out with Revolution the appleEvent handler 
wasn't triggering.  After some experimentation I found that putting it 
into a frontScript solved the problem with LC, and haven't thought about 
it again until Peter's post today.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com



More information about the use-livecode mailing list