• 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
Re: Reveal the tables of a sheet in Numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Reveal the tables of a sheet in Numbers (From: Yvan KOENIG <email@hidden>)
 >Re: Reveal the tables of a sheet in Numbers (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Folder action when modifying a file
  • Next by Date: Re: Reveal the tables of a sheet in Numbers
  • Previous by thread: Re: Reveal the tables of a sheet in Numbers
  • Next by thread: Re: Reveal the tables of a sheet in Numbers
  • Index(es):
    • Date
    • Thread