Proper syntax for using perform action on tab view items
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