file.setVersion

Syntax file.setVersion (path, string)

Params path is the path name of the file whose version you wish to set.

string is the new version information for the file at path.

Action Changes the version of the file at path to string.

Returns True

Examples file.setVersion ("System:System Folder:Sample Application", "1.0.1b1")

   » true

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes The version of a file is meant to be accessed programmatically, and should be in form of a number with one or two decimal points, and an optional "stage" specification ('a' for "alpha", 'b' for Beta, or 'd' for "developement").

When the user asks to see the version of a file in the Finder, the full version (which generally includes copyright information) is displayed.

See Also file.getVersion

file.setFullVersion

file.getFullVersion

Discuss