Rev 12778 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
/* This file has been modified by Stefano M.Iacus to work on R from the originalFile: FinderLaunch.hDescription:A routine for sending an open documents Apple event to thefinder. This routine provides functionality equivalent toselecting a document/file/application and choosing theopen command in the Finder's file menu.Author: John MontbriandCopyright:Copyright © 1999 by Apple Computer, Inc.All rights reserved worldwide.Disclaimer:You may incorporate this sample code into yourapplications without restriction, though the samplecode has been provided "AS IS" and the responsibilityfor its operation is 100% yours. However, what youare not permitted to do is to redistribute the sourceas "DSC Sample Code" after having made changes. Ifyou're going to re-distribute the source, we requirethat you make it clear in the source that the code wasdescended from Apple Sample Code, but that you've madechanges.Change History (most recent first):9/13/99 created by John Montbriand*/#ifndef __FINDERLAUNCH__#define __FINDERLAUNCH__#include <Types.h>#include <Files.h>/* FinderLaunch converts a list of nTargets FSSpec records pointed to by thetargetList parameter and converts the list to an apple event. It thensends that event to the Finder. The array of FSSpec records pointedto by the targetList parameter may contain references to files, folders,or applications. The net effect of this command is equivalent to theuser selecting an icon in one of the Finder's windows and then choosingthe open command from the Finder's file menu.*/OSErr FinderLaunch(long nTargets, FSSpec *targetList);#endif