mingsai

Numbers Make New Document

Feb 22nd, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tell application "Numbers"
  2.     activate
  3.     -- create a new document and store its reference in a variable
  4.     set thisDocument to make new document
  5.     -- address the document reference
  6.     tell thisDocument
  7.         -- remove any default tables
  8.         delete every table of every sheet
  9.     end tell
  10. end tell
Advertisement
Add Comment
Please, Sign In to add comment