Re: Dock droplets in Cocoa
Re: Dock droplets in Cocoa
- Subject: Re: Dock droplets in Cocoa
- From: Duncan Bushell <email@hidden>
- Date: Thu, 13 Jun 2002 15:14:28 +0100
Nathan
That's brilliant - I just needed to set the doc type and now it works fine.
Thanks!
--
Duncan
On 13/6/02 1:18 pm, "Nathan Day" <email@hidden> wrote:
>
Look at the Application delegate method application:openFile: if you
>
want your app to open any file then you have to set your application to
>
handle a special type, have a look in TextEdit since it seems to be able
>
to open anything.
>
>
On Thursday, June 13, 2002, at 09:26 PM, Duncan Bushell wrote:
>
>
> Does anyone know how my Cocoa app can respond to a file being dragged
>
> and
>
> dropped onto its dock icon, or its icon in the Finder?
>
>
>
> It seems you can do it with Applescript but I can9t see how to do it
>
> from
>
> Cocoa.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.