• 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: Table double click action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table double click action


  • Subject: Re: Table double click action
  • From: Wayne Melrose <email@hidden>
  • Date: Mon, 11 Jul 2011 15:49:23 +0200

Thanks Shane,

I had a quick go with no luck. I'm wondering if it's my bindings. For the moment, I've based it on the multi column example in your book. Used the same method as you've suggested there.


On 11. juli 2011, at 15.16, Shane Stanley wrote:

> You set the method to be called by double-clicking with setDoubleAction:
>
> tell theTable to setDoubleAction_("actionHandlerName:")
> tell theTable to setTarget_(me) -- if it doesn't already have a target
>
> Then you do your stuff in:
>
> on actionHandlerName_(sender)
>
> How you do the rest depends a bit on how you populate the table (bindings vs
> datasource).
>
> (Very nice pix, BTW...)
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
> 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

  • Follow-Ups:
    • Re: Table double click action
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Table double click action (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Table double click action
  • Next by Date: Re: Passing variables from one script to another
  • Previous by thread: Re: Table double click action
  • Next by thread: Re: Table double click action
  • Index(es):
    • Date
    • Thread