makepackage
PATH

The makepackage statement creates a new package, and if necessary, also creates any enclosing folders needed to create the specified new package.


Parameters

This statement has one parameter:

path – is a path and folder name of the new package to be created (see Files and Folders for more information about file paths).


Description

This statement creates a new package, and if necessary, also creates any enclosing folders needed to create the specified new folder. A package is a special type of folder that, in the Finder, appears to be a single indivisible file. However “under the hood” a package is really a folder that can contain multiple files and folders. You can right click on a package in the Finder and select Show Package Contents from the pop-up menu to see the contents of the package.

Thie example creates a package named Cambria.panblueprint. If necessary, it also creates the Dropbox, Projects, and 2014 folders. The example places two files into the package, alphabetic.txt and digits.txt (you can always place additional files and/or folders into the package later, or remove or rename items, for that matter).

makepackage "~/Dropbox/Projects/2014/Cambria.panblueprint"
filesave "~/Dropbox/Projects/2014/Cambria.panblueprint/alphabetic.txt","AZ"
filesave "~/Dropbox/Projects/2014/Cambria.panblueprint/digits.txt","09"

See Also


History

VersionStatusNotes
10.0NewNew in this version.