macAlias

Method of

File object

Syntax

int macAlias(
   FileSpecObject destDir,
   String fileName,
   FileSpecObject aliasDir,
   String aliasName );

Parameters

The macAlias method has the following parameters:

destDir
A FileSpecObject that represents the directory into which the program file will be installed.
fileName
A string representing the name of the file to be installed.
aliasDir
A FileSpecObject that represents the directory into which the alias file will be installed (e.g.,"Mac Desktop").
aliasName
A string representing the name of the alias itself.

Returns

An integer error code. For a list of possible values, see Return Codes.

Example

See File.macAlias in the script examples chapter.

Document Tags and Contributors

 Contributors to this page: Sheppy, ethertank, trevorh, Fredchat, Rod Whiteley
 Last updated by: Sheppy,