Re: File Associations Auto-Open with OS X

2005-05-11 Thread Thierry Arbellot
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

Re: File Associations Auto-Open with OS X

2005-05-11 Thread Peter Reid
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

File Associations Auto-Open with OS X

2005-05-10 Thread Peter Reid
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