• 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: Drag and drop to the app's dock icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and drop to the app's dock icon


  • Subject: Re: Drag and drop to the app's dock icon
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Thu, 12 Jun 2003 12:11:00 +0200

At 8:09 Uhr +0100 12.06.2003, Tim Hewett wrote:
I want my app to be able to act on files which have been
dropped onto its dock icon - I've search the developer CD
documentation but the bit that covers how to do this must
be very well-hidden if it's there at all. The same goes for
documentation on how add extra menu items to the icon's
dock menu.

Tim,

there is no need to do anything. If your application advertises its document types correctly (check out the "Target Settings" for your application in Project Builder), it will simply work, through the same channels that double-clicking its documents in the Finder does, and that are used when the user drags a file on your app's icon in the Finder.

If it doesn't work, you either erred when specifying the document types, or the Finder hasn't picked up the change yet. In the latter case, there are some ways to make the Finder realize there's a new app. In that case, try to copy your app to the "Applications" folder, and log out and back in again. Sometimes simply duplicating it and deleting the old one after that is enough.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
References: 
 >Drag and drop to the app's dock icon (From: Tim Hewett <email@hidden>)

  • Prev by Date: Re: [OT] Mouse buttons (was Re: troubling article)
  • Next by Date: Re: Calling java.util.regex from Objective-C
  • Previous by thread: Drag and drop to the app's dock icon
  • Next by thread: Re: Drag and drop to the app's dock icon
  • Index(es):
    • Date
    • Thread