• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Choose file of type with Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Choose file of type with Panther
      • From: Bill Briggs <email@hidden>
References: 
 >Choose file of type with Panther (From: David Wadson <email@hidden>)
 >Re: Choose file of type with Panther (From: Bill Briggs <email@hidden>)

  • Prev by Date: Re: move all files also with no extension via shell command
  • Next by Date: adding a mask to a quicktime movie
  • Previous by thread: Re: Choose file of type with Panther
  • Next by thread: Re: Choose file of type with Panther
  • Index(es):
    • Date
    • Thread