Re: Choose file of type with Panther
Re: Choose file of type with Panther
- Subject: Re: Choose file of type with Panther
- From: David Wadson <email@hidden>
- Date: Wed, 4 May 2005 14:55:26 -0400
After developing a small case of information overload reading that
article, which was very interesting, I'm left with the understanding
that while Tiger supports a new and impressive means of file typing,
Panther doesn't have any of that. I'm assuming that I'm basically
S.O.L. on limiting "choose file" to strictly PDF files as that command
relies on files to have creator and file type codes which OS X has
gotten away from using. As much as I like OS X, I really wish that both
ends of the horse would work together. Kind of stupid for Applescript
to rely on something that the OS is getting away from...
Dave
On May 4, 2005, at 11:52 AM, Bill Briggs wrote:
At 11:35 AM -0400 5/4/05, David Wadson wrote:
I'm trying to have the user choose a PDF file, but because some of
them don't have the 4-character file types, I can't simply use the
pre-OSX syntax:
choose file of type {"PDF "}
http://lists.apple.com/archives/applescript-users/2005/May/
msg00094.html offers some explanation, but does Panther support type
identifiers. I don't think so as I don't set a "type identifier"
listed in the "info for" properties.
There's more than one strategy for type identification. The
"official" one supported in OS X is still file name extensions. But it
does support the old Mac OS type and creator codes too, though it
doesn't require them. The metadata also supports MIME types as
identifiers too. The new UTI that Bill Cheeseman was talking about in
the archived message you linked to above is a system of typing that
solves a host of typing issues, and can still make use of the other
typing mechanisms through cross-referencing of types to a UTI type. If
you want to get a better picture of this you might click over and read
this: http://arstechnica.com/reviews/os/macosx-10.4.ars/1
- web
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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