• 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
Is this technically Feasible? - Drop location to be determined programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is this technically Feasible? - Drop location to be determined programmatically?


  • Subject: Is this technically Feasible? - Drop location to be determined programmatically?
  • From: Manish Pattath <email@hidden>
  • Date: Fri, 3 Dec 2004 11:23:23 +0000 (GMT)

Hi,
I have a matrix of NSButtonCells which house images
that can be dragged and dropped ANYWHERE on the File
system.Depending on the location of the drop i need to
do some processing.

I have handled the drag of images from cells.Here is
the problem -  now i want to drop the image at say
"/Users/Name/Desktop/AppleScript/MyImage" where
MyImage is the image that is dropped.
I want the path /Users/Name/Desktop/AppleScript to be
determined programmatically.

i.e. I want the drop Location.

As mentioned earlier that the user can drop it
anywhere in the file system hierarchy, How do i get
the path to where the image were dropped.?

My Application is a dragging source but not the
receiver. U can drag from my application but it cannot
accept the drags.

How should i go about it. Does anyone have a code
snippet for this.
Thanks for any help.

Rgds,
Manish.



________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: NSBezierCurve and Line Width
  • Next by Date: Re: Need help with initializing Menu check boxes
  • Previous by thread: Re: NSBezierCurve and Line Width
  • Next by thread: passing audio from an app to OS X speech recognition
  • Index(es):
    • Date
    • Thread