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 ClrAppFiles procedure to notify the Finder that you have processed the information about a file selected for opening or printing at application startup.

PROCEDURE ClrAppFiles (index: Integer);
The index of the file whose information is to be cleared.
The ClrAppFiles procedure changes the Finder information passed to your application about the specified file so that the Finder knows you've processed the file. The index parameter must be between 1 and the number returned by CountAppFiles, inclusive. You should call ClrAppFiles for every document your application opens or prints, so that the information returned by CountAppFiles and GetAppFiles is always correct. The ClrAppFiles procedure sets the file type in the Finder information to 0.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996