Making Documents

Creating new Numbers documents is done using the make command from the Standard Suite. The optional with data parameter for the make command is currently not supported in Numbers.

make  : Create a new object.

make

new class : The class of the new object.

[ at location specifier ] : The location at which to insert the object.

[ with data any ] : The initial contents of the object.

[ with properties record ] : The initial values for properties of the object.

⇒ specifier : The new object.

Using the make command, scripts can create standard blank Numbers documents, as shown in the example script below:

Here’s a script demonstrating how to use the optional with properties parameter to make a new document based upon a specific template:

IMPORTANT TIP: Learn how to save and run your favorite scripts using the system-wide Script Menu.

TOP | CONTINUE