• 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
Obtaining data from finder drag onto cocoa application....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Obtaining data from finder drag onto cocoa application....


  • Subject: Obtaining data from finder drag onto cocoa application....
  • From: Michael Emfinger <email@hidden>
  • Date: Mon, 11 Feb 2002 19:05:00 -0800

Hello,
I would like to obtain volume/file/folder data using a finder drop onto my
cocoa application. I have tried setting a handler for kCoreEventClass,
using both kAEOpenDocuments and kAEOpenApplication Event ID's. If I send
either of these specified events from a test script, my handler is called
just as it should be. However, if I drag a file/folder/volume onto my
application to launch it, the application does launch (as my doc types are
set in the PB target info) but my handler is never called. Any ideas?

Also, note: This is not a document based application and I do not wish to
open my finder selections in such a way. I'm simply interested in their
respective paths on the hard disk.

Michael Emfinger
Sr. Software Engineer, Macintosh
Symantec Corporation
2500 Broadway, STE 200
Santa Monica, Ca 90404
--
_______________________________________________
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: Obtaining data from finder drag onto cocoa application....
      • From: David Remahl <email@hidden>
  • Prev by Date: NSTextView text color alpha value?
  • Next by Date: Re: newbie question on 'Cocoa Programming for Mac OS X'
  • Previous by thread: NSTextView text color alpha value?
  • Next by thread: Re: Obtaining data from finder drag onto cocoa application....
  • Index(es):
    • Date
    • Thread