• 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: Numbers '08 (Selection range)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Numbers '08 (Selection range)


  • Subject: Re: Numbers '08 (Selection range)
  • From: KOENIG Yvan <email@hidden>
  • Date: Tue, 13 Jan 2009 11:53:44 +0100


Le 13 janv. 2009 à 06:23, Scott Lindsey a écrit :

tell application "Numbers"
tell document 1
set mySelectedRanges to selection range of every table of every sheet
whose it is not missing value
repeat with sheetRanges in mySelectedRanges
repeat with thisRange in sheetRanges
if contents of thisRange is not missing value then
try
--return thisRange --poorly formed result
thisRange as text
on error errMsg number errNum
set oldDelims to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"\""}
set myRange to text item 2 of errMsg
set myTable to text item 4 of errMsg
set mySheet to text item 6 of errMsg
set myDoc to text item 8 of errMsg
set mySelection to (a reference to (range myRange of table myTable
of sheet mySheet))
set AppleScript's text item delimiters to oldDelims
return mySelection
end try
end if
end repeat
end repeat
end tell
end tell


Thanks, but here under 10.4.11  I get:

tell application "Numbers"
get selection range of every table of every sheet of document 1 whose it ≠ missing value
{{missing value, missing value}, «class C3:D4" of table "table1_of_sheet2" of sheet "Sheet 2" of document "essaiREf.numbers"}
count «class C3:D4" of table "table1_of_sheet2" of sheet "Sheet 2" of document "essaiREf.numbers"
"Erreur dans Numbers : Impossible de transformer «class of table \"table1_of_sheet2\" of sheet \"Sheet 2\" of document \"essaiREf.numbers\" en type reference."


Yvan KOENIG (from FRANCE mardi 13 janvier 2009 11:53:38)





_______________________________________________
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: Numbers '08 (Selection range)
      • From: KOENIG Yvan <email@hidden>
References: 
 >Re: Numbers '08 (Selection range) (From: "Scott Lindsey" <email@hidden>)

  • Prev by Date: Re: Where to log lines go
  • Next by Date: Re: Numbers '08 (Selection range)
  • Previous by thread: Re: Numbers '08 (Selection range)
  • Next by thread: Re: Numbers '08 (Selection range)
  • Index(es):
    • Date
    • Thread