Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I create a new Numbers Document through AppleScript?

How can I create a new Numbers Document through AppleScript?


I try this:



tell application "Numbers"

makenewdocumentwith properties {template name:"blank"}

end tell



But don't work.


Where can I find documentation about it?


Thanks

Posted on Jun 3, 2011 2:34 PM

Reply
2 replies

Jun 4, 2011 2:26 AM in response to Luiz Siqueira Neto

If you try to invent your own syntax, you are starting on very wrong basis.

The required syntax is defined by the Numbers AppleScript's dictionary.

This one doesn't know what is a template.

This is why, in the link posted by badunit, I use an other scheme to create a new document.

I know that it's awful but it's the only one available at this time.


Yvan KOENIG (VALLAURIS, France) samedi 4 juin 2011 11:25:25

iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7

Please : Search for questions similar to your own before submitting them to the community


To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

How can I create a new Numbers Document through AppleScript?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.