Mac drop file on standalone, process, and quit

J. Landman Gay jacque at hyperactivesw.com
Fri Feb 24 21:46:53 EST 2012


On 2/24/12 6:15 PM, ilsa wrote:
> The app icon in the Dock doesn't hilite when I drag a jpg over it.
> When the app opens I get the "oapp" pID.

I see, that's a whole different problem. You need to tell the OS that 
your app will accept jpgs, or any other file type you want to work with. 
You can do that by editing the plist file inside the app bundle. Or 
easier, do it before you build the app by entering the document 
extensions and types in the standalone builder, in the OS X pane.

I think only the extensions are strictly required any more, so enter a 
list of comma-delimited extensions there, like "jpg,jpeg,png,gif". If 
you know the old-style OS 9 types you can put those into the "types" 
field too. Jpgs have a type of "JPEG" for example (all capital letters.)

That should give you the right plist entries, and the Finder will know 
your app should accept image files.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list