Previous Book Contents Book Index Next

Inside Macintosh: Files /
Chapter 1 - Introduction to File Management / File Management Reference
Application Launch File Routines /


You can use the GetAppFiles procedure to retrieve information about each file selected at application startup for opening or printing.

PROCEDURE GetAppFiles (index: Integer; VAR theFile: AppFile);
The index of the file whose information is returned.
A structure containing the returned information.
The GetAppFiles procedure returns information about a file that was selected when your application was started up (as listed in the Finder information). The index parameter indicates the file for which information should be returned; it must be between 1 and the number returned by CountAppFiles, inclusive.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996