Hello,
i have:
* window called "myWindow" (NSWindow)
on that window:
* tabview called "myTabView" (NsTabview)
with 2 tabs (tab1 and tab2)
each tab has for testing issues:
* a button (NSbutton) which is called (1 for tab1 and 2 for tab2)
In my applescript Code i have a:
>> on clicked theObject
>> end clicked
section
While i can handle buttons directly placed on that window using this
code structure:
>> if name of the theObject is "WHATEVERHERE" then
>> end if
But how do i access the buttons on those tabs (part of my NSTabView) ?
my idea was:
>> if name of the theObject is "1" then
>> end if
which was wrong and ended with this error:
>> No result was returned from some part of this expression. (-2763)
any idea how to handle this subcategories of Window -> TabView -> Tab -
> Button
I guess it has to end with something like:
>> if name of the object of window "myWindow" of tab group "myTab" of tab
view "tab1" is "1" then
>> end if
but ended with no working result.
any idea is appreciated.
Best regards
florian