• 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: Text dragged on to the application icon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text dragged on to the application icon?


  • Subject: Re: Text dragged on to the application icon?
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 31 Aug 2003 02:10:11 -0400

On Aug 30, 2003, at 4:58 PM, Nick Morris wrote:

Hi,

I have been wrestling with this problem on and off for about two weeks and I am unable to find an answer.

The problem: Text is selected in TextEdit and then dragged on to my application icon. How do I (can I?) get the application to respond to this?

I can get this to work with files by using 'Document Types' in the info.plist. etc. I can get it to work with text dragged on to the application window. However, I can't find a way of getting things to work for text dragged on to the application icon.


OK, I don't know will work... These beasts are kept on the pasteboard (the clippings) usually, but they can also be fils. I'm not sure what the file type is for those though, you'd need to create one and then dig the file type out of it. Can you register your application to accept that file type? not sure what you'll get data wise back then though..

Carbon folks, this is where you can pipe up about how clippings are handled!
_______________________________________________
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: 
 >Text dragged on to the application icon? (From: Nick Morris <email@hidden>)

  • Prev by Date: Re: getting the app name of an app that quits
  • Next by Date: Re: Carbon, resource fork
  • Previous by thread: Text dragged on to the application icon?
  • Next by thread: Enough with the newbie C questions!
  • Index(es):
    • Date
    • Thread