• 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: Which sender is which
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which sender is which


  • Subject: Re: Which sender is which
  • From: Rainer Standke <email@hidden>
  • Date: Thu, 24 Mar 2011 15:09:30 -0700

Matt,

you can set the 'Tag' field for each of the image wells in Interface Builder to a different int value. You might then be able to say [sender tag] to get that same int value, and thus you could figure out which well received the drop.

Not sure about the syntax in AppleSript Obj-C, is obviously the Obj-C equivalent.

Not sure if this all really applies to drag & drop, but it sure does apply to clicked button, where the tags on the buttons would be set in IB.

Hope this helps,

Rainer


On Mar 23, 2011, at 12:22, John C. Welch wrote:

> So I grokked tracking drag and drop into an image well thanks to Shane's
> book.
>
> In my application, I've got 3 image wells. I'd like to do essentially the
> same thing for each one when an image is dragged into it, but I'm not sure
> of how to pull that information. I'm guessing it's in the sender info, but
> looking for how to find that in the docs has been a bust.
>
> Any decent way to do this?
>
> --
> You're about as sharp as a marble
>
> Matt Broman
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> applescriptobjc-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Which sender is which (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Which sender is which
  • Next by Date: Make it quit
  • Previous by thread: Which sender is which
  • Next by thread: Make it quit
  • Index(es):
    • Date
    • Thread