On 12/5/02 12:05 PM, Gregory Lypny wrote:
My apologies for the last message; I forgot to include a subject. Let me try again…

Hello everyone,

I'm writing a handler to open files and restrict the choices to text files.

answer file "Choose your data file…" with filter TEXT

When I use the filter above in OS X, AppleWorks text files are recognized but plain text files are not (they're dimmed). I'd like to be able to choose among all files with a .txt extension. What am I doing wrong?
This works for me in OS X:

answer file "Choose a file:" of type "TEXT"

I see all types of files, both those with ".txt" suffixes and those without, including BBEdit files, text files created by 2 different browsers, and MC-generated text files.

However, I have noticed several times that OS X doesn't always "recognize" files right away. There have been times when a file was dimmed in the file dialog that shouldn't be. These are almost always new files, just downloaded or just created. Sometimes moving the file to the desktop and back will fix it, sometimes it takes hours before the Finder "sees" it as the right file type.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | http://www.hyperactivesw.com

_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Reply via email to