Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FileType or something



From: "Laurence Harris" <email@hidden>

On Aug 29, 2007, at 5:58 PM, Yves Poissant wrote:

Here is the update on this issue: I traced the execution. NavCreateGetFileDialog() is called with a NavObjectFilterProc pointer. I traced what is happening in that filter proc and to my surprise, when a .hdr file is passed, say "image.hdr", the actual FSSpec filename that get passed to the filter proc is "image.hdr.txt" and of course, this is rejected. This file is named "image.hdr" in Finder. So where is that ".txt" extension being appended? Where is the magic there?

It sounds like the .txt is just being hidden in the Finder, although I thought the Finder always showed everything when there are multiple extensions like that.

Thanks. It turns out that "hide file extension" was turned ON for .txt files.


Yves Poissant
Hash Inc.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >FileType or something (From: "Yves Poissant" <email@hidden>)
 >Re: FileType or something (From: Uli Kusterer <email@hidden>)
 >Re: FileType or something (From: "Yves Poissant" <email@hidden>)
 >Re: FileType or something (From: Laurence Harris <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.