File Associations & Auto-Open with OS X
preid at reidit.co.uk
Wed May 11 13:02:11 EDT 2005
Thanks very much for an excellent solution - just the job!
With best regards
>Add the following handler to the main stack script:
>on appleEvent pClass, pID, pSender
> switch pClass & pID
> case "aevtodoc"
> request appleEvent data -- extract the path of the file to open
>-- put here the code to process the file
> pass appleEvent
> end switch
Reid-IT Limited, Loughborough, Leics., UK
E-mail: preid at reidit.co.uk
More information about the Use-livecode