Re: Reveal the tables of a sheet in Numbers
Re: Reveal the tables of a sheet in Numbers
- Subject: Re: Reveal the tables of a sheet in Numbers
- From: Yvan KOENIG <email@hidden>
- Date: Sun, 25 Apr 2010 12:34:12 +0200
Le 25 avr. 2010 à 11:37, Axel Luttgens a écrit :
Le 24 avr. 2010 à 19:29:40, Yvan KOENIG a écrit :
Hello
Here is a handler designed to select a sheet in Numbers and 'open'
it if it's not.
Open a sheet means : reveal the names of the embedded tables.
The handler does the complete task under 10.5 and 10.6.
Under 10.4.11, it selects the sheet but I can't get it opening the
sheet if it isn't.
The script is able to check this status.
It calculates the location of the black triangle in front of the
sheet's name but trying to click it changes nothing.
What am'I doing wrongly ?
Hello Yvan,
Those UI clicks often prove somewhat frustrating...
But something along these lines seems to do the job with Numbers 2
under Tiger:
tell application "System Events"
tell application process "Numbers"
tell outline 1 of scroll area 1 of splitter group 1 of splitter
group 1 of window dName
tell (first row whose value of static text 1 is sName and
settable of attribute "AXDisclosing" is true)
set value of attribute "AXDisclosing" to true
end tell
end tell
end tell
end tell
Thanks.
I will try to use that in my handler.
Yvan KOENIG (VALLAURIS, France) dimanche 25 avril 2010 12:34:04
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden