Opening files by drag/drop (was Access To ~/Library)

Peter Haworth pete at lcsql.com
Fri Jun 29 17:05:46 EDT 2012


I'm moving away from figuring out how to get access to ~/Library in favor
of allowing users to open files by dragging and dropping them onto my
application.

I found a thread in the archives on this topic involving setting an entry
in the plist file to the file extensions that the program is prepared to
handle, then checking apple events.  Sounded like that would work for files
dropped onto the program icon but perhaps not if the program is already
running and the file gets dropped onto the program's open window.  Any
comments on that?

Also, this is great for OSX but can it be done on Windows?  Is it even a
standard way of working on Windows?

Thanks for any guidance,


Pete
lcSQL Software <http://www.lcsql.com>



More information about the use-livecode mailing list