• 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
scriptability of button in interface?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scriptability of button in interface?


  • Subject: scriptability of button in interface?
  • From: "Patrick J. Collins" <email@hidden>
  • Date: Sat, 3 May 2008 03:09:13 -0700 (PDT)

Hi everyone,

I was just curious--  Does anyone know off the top of their head how one makes
a button's action in an xcode project accessible via applescript?

In otherwords, say your main window has a button named "start".

How do you make it so that an end user could write their own applescript and do
something like:

"Tell application 'patrick's app' to start"

?

I am assuming there is something in interface builder that you need to do to
accomplish this, but I just don't know what it is.

Thank you!

Patrick J. Collins
http://collinatorstudios.com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: scriptability of button in interface?
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: Graphics seen when volume is modified.
  • Next by Date: NSImageView blocking drag
  • Previous by thread: Re: Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5
  • Next by thread: Re: scriptability of button in interface?
  • Index(es):
    • Date
    • Thread