• 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
Proper syntax for using perform action on tab view items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proper syntax for using perform action on tab view items


  • Subject: Proper syntax for using perform action on tab view items
  • From: Thomas Berry <email@hidden>
  • Date: Wed, 22 Feb 2006 02:19:36 -0500

I'm trying to programmatically call the 'on selected tab view item' action when a user presses a button but can't seem to get the syntax quite right.  In my application, the code reads as follows:

on selected tab view item theObject tab view item tabViewItem

My tab view is called "tabViewMain" and individual tab view items are named things such as "tabVideo"

I've tried the following:

set test to tab view item "tabvideo" of tab view "tabViewMain" of window "HarmonyMain"
tell test to perform action

but I get an "NSReceiversCantHandleCommandScriptError" error.

Any suggestions are appreciated.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Quark Open Options
  • Next by Date: Re: Inconsistent Embedding of Color Profile in Photoshop CS
  • Previous by thread: Re: Database Events
  • Next by thread: 10.3.9 eFax question...
  • Index(es):
    • Date
    • Thread