• 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: Axel Luttgens <email@hidden>
  • Date: Sun, 25 Apr 2010 11:37:26 +0200

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


HTH,
Axel

 _______________________________________________
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

  • Follow-Ups:
    • Re: Reveal the tables of a sheet in Numbers
      • From: Yvan KOENIG <email@hidden>
    • Re: Reveal the tables of a sheet in Numbers
      • From: Yvan KOENIG <email@hidden>
References: 
 >Reveal the tables of a sheet in Numbers (From: Yvan KOENIG <email@hidden>)

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