[MacRuby-devel] Dropping a file on an application

Ernest N. Prabhakar, Ph.D. prabhaka at apple.com
Thu Nov 19 21:16:44 PST 2009

Hi Darrin,

On Nov 19, 2009, at 8:40 PM, Darrin Eden wrote:

> Hi MacRuby,
>  I'd like to respond to a file being dropped on my application via
> the Finder or the Dock.

I'm pretty sure that you just need to implement the following method:


Along with the appropriate plist entries:

cf. http://macosx.com/forums/software-programming-web-scripting/13822-application-openfile-problems.html

>  I've been poking around Apple's documentation, but have been unable
> to discovered a good way to implement this behavior.
>  Would you have suggestions on what section of the documentation
> would be best or even what steps might be necessary to accomplish
> this?
>  Thank you,
>   -- Darrin Eden
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

More information about the MacRuby-devel mailing list