file.newAlias

Syntax file.newAlias (sourcepath, destpath)

Params sourcepath is a path name to the file or folder for which an alias is to be created.

destpath is a path name to the file or folder in which the alias of the file or folder at sourcepath is to be created.

Action Creates an alias of a file, folder, or volume.

Returns True if the alias file is successfully created, false otherwise.

Examples file.newAlias ("frontier.root", "frontier.root alias")

   » true

file.newAlias ("UserLand Frontier", "System:System Folder:Apple Menu Items:Frontier")

   » true

This makes the Frontier program immediately available from the Apple menu.

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

See Also file.followAlias

file.isAlias

Discuss