• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dock droplets in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock droplets in Cocoa


  • Subject: Re: Dock droplets in Cocoa
  • From: Nathan Day <email@hidden>
  • Date: Thu, 13 Jun 2002 21:48:15 +0930

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.

--
Duncan Bushell
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Dock droplets in Cocoa
      • From: Duncan Bushell <email@hidden>
References: 
 >Dock droplets in Cocoa (From: Duncan Bushell <email@hidden>)

  • Prev by Date: Dock droplets in Cocoa
  • Next by Date: Re: NSWindow not restoring location
  • Previous by thread: Dock droplets in Cocoa
  • Next by thread: Re: Dock droplets in Cocoa
  • Index(es):
    • Date
    • Thread