• 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
Scripting Numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Numbers


  • Subject: Scripting Numbers
  • From: Christian Prinoth <email@hidden>
  • Date: Mon, 10 May 2010 19:10:38 +0200

I am trying to make some simple scripts to get data from a database into Numbers. Ideally, I would run the script, and the data gets written into the currently selected table. I realize that there is a selection range property, but am unable to understand how I reference current document/sheet/table.

If I do:
tell application "Numbers"
get selection range of tables of sheets of documents
end tell

I get:
{{{missing value, «class » "E4:E4" of table "Table 2" of sheet "Sheet 1" of document "Untitled" of application "Numbers"}}}

which I do not know how to handle.

In other words, how do I write in the currently selected cell of the currently selected table of the currently selected sheet etc.?

Thanks
Chris
 _______________________________________________
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: Scripting Numbers
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Geeting Error "Microsoft Word got an error. Connection is invalid"
  • Next by Date: Re: Scripting Numbers
  • Previous by thread: Re: Getting Error "Microsoft Word got an error. Connection is invalid"
  • Next by thread: Re: Scripting Numbers
  • Index(es):
    • Date
    • Thread