>At 10.58 -0500 1998.11.02, Jeff at MacTech wrote: >>Or, maybe it pick's the latest entry in the Desktop database. (Actually, >>this sounds familiar--that the Finder tends to use the version last >>installed, regardless of creation or modification date.) > >Oops, it is creation date, not modification date. But I think you are >right about entries into the Desktop database ... probably in the case of a >tie in creation date, it then moves to most recent entry in the Desktop, >which means that rebuilding the Desktop can change which one is called. > >From Inside Mac: MTb 9-15 (PBDTGetAPPL): "A single call, with ioIndex set >to 0, finds the application file with the most recent creation date." > >That confirms my experiences with opening things from the Finder and from >MacPerl's FSpDTGetAPPL() call. > As a small clarification, the creation date (as well as modification date) of a file is not "updated" when files are duplicated (or copied). It must have to do with entries into the Desktop DB. -Alex ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch