Hi Peter,
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
break
default
pass appleEvent
end switch
Hi Thierry
Thanks very much for an excellent solution - just the job!
With best regards
Peter
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
I've got a standalone developed with Rev 2.5.1 that I want to
associate with a particular file extension for both OS X and Windows.
On both platforms I can specify that all files with the extension
.xyz is to be opened by a particular program. This works fine with
Windows, but not with OS X