choose file of type
choose file of type
- Subject: choose file of type
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 25 Nov 2005 12:14:47 -0800
- Thread-topic: choose file of type
In Tiger (maybe Panther too?), 'choose file's parameter 'of type' is now
described as "a list of file types or type identifiers."
Can someone remind me what is meant by a "type identifier"? I do recall that
you can't mix them in with 4-char file types - it has to be one or the
other.
I'm hoping that it has something to do with extensions, or even the
creator's identifier, so that it can work with files that don't have the old
style file types. For example, isn't there some way to specify .txt files as
made by TextEdit, which do not have "TEXT" file types?
choose file of type {"txt"}
or {".txt"}, or {"ttxt"}, or {"text"}, or {"com.apple.TextEdit"}, or
{"****"} - no .txt files created by TextEdit files are selectable in 'choose
file'. Is there a way? GetInfo has TextEdit set as default app for opening
them, if that matters.
Ultimately, I'm also hoping to be able to specify .doc or .xls files coming
from Word or Excel on Windows, with no file types.
If there isn't some way to specify extension, there should be.
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden