Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Make Alias VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Low Level Apple Events VIs

Requires: Base Development System (Mac OS X)

Creates a unique description of a file using its pathname and location on the network. You can use this description with the AESend VI when sending an Apple event that refers to a file.

Details  

File's full pathname describes the file or folder. It includes any information about where the file or folder resides on the network.
Zone is the AppleTalk zone where the server machine resides. If you do not wire Server name, this parameter is unused.
Server name is the name of the machine where the file or folder resides.
alias kind describes the alias.

0Minimal alias (default)—Uses zone and server. You cannot use it in an AppleEvent sent to the Finder. The VI creates the alias from scratch, and does not check to determine whether the file exists or is accessible from the desktop. It must have a volume name with a colon following it.
1Full alias—Ignores zone and server. You can use it in AppleEvents sent to any application, including the Finder. The VI creates this alias. If the file does not exist or is not accessible from the desktop, it returns an error.
2From Finder alias file—Ignores zone and server. You can use it in AppleEvents sent to any application, including the Finder. File's full pathname indicates a Finder alias file that points to the file. Finder alias files contain full aliases, and the VI does not verify whether the file exists or is accessible from the desktop. The VI copies the contents of the alias file to create the output alias.
Alias AESend descriptor is the AppleEvent descriptor string.
error describes any errors that occur. Refer to the Apple Event Error Codes for more information.

Make Alias Details

An alias is a data structure used by the Mac OS X toolbox to describe file system objects (files, directories, and volumes). This data structure is not the same as the Finder alias file. A minimal alias contains a full pathname to the file and possibly the zone and server on which the file resides. A full alias contains more information, such as creation date, file type, and creator. (The complete description of the structure of an alias is confidential to Apple Computer.) Aliases are the most common way to specify a file system object as a parameter to an AppleEvent.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit