• 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: Selecting files of type zip
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting files of type zip


  • Subject: Re: Selecting files of type zip
  • From: Yvan KOENIG <email@hidden>
  • Date: Thu, 16 Apr 2009 19:20:10 +0200


Le 16 avr. 2009 à 18:01, Mark J. Reed a écrit :

On Thu, Apr 16, 2009 at 9:21 AM, Sutapalli Satyanarayana
<email@hidden> wrote:
So, in this case, how can I write my script that works on both.

As Yvan pointed out, the type parameter to "choose file(s) of type" can be a list of acceptable types; all files that match any of those types will be selectable.

How can I write to pick the exact file type depending on OS version?

Is the file type determined by the OS under which the archive is created or the OS under which it is examined? Does the answer to that question change if the archive lives on an HFS+ filesystem shared by Tiger and Leopard machines, created on one but examined on the other? Trying to test the OS version to figure out what to do is a losing proposition; better to just include all the possibilities in the list.

It's linked to the system used to examine the files.
The UTI strings are stored by the operating system not by the files themselves.
I tested the same file on both operating systems and got the string linked to the OS.


It not really surprising. I remember that I read some times ago an Apple document explaining that 10.5 offer more readable Uniform Type Identifiers.
Alas, at this time I am unable to retrieve it.


Yvan KOENIG (from FRANCE jeudi 16 avril 2009 19:19:43)




_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Selecting files of type zip
      • From: Yvan KOENIG <email@hidden>
    • Re: Selecting files of type zip
      • From: Yvan KOENIG <email@hidden>
References: 
 >Copy to list Question (From: Oakley Masten <email@hidden>)
 >Re: Copy to list Question (From: Alexis Gottlieb <email@hidden>)
 >Selecting files of type zip (From: "Sutapalli Satyanarayana" <email@hidden>)
 >Re: Selecting files of type zip (From: Axel Luttgens <email@hidden>)
 >Re: Selecting files of type zip (From: Yvan KOENIG <email@hidden>)
 >Re: Selecting files of type zip (From: "Sutapalli Satyanarayana" <email@hidden>)
 >Re: Selecting files of type zip (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Selecting files of type zip
  • Next by Date: Photomerge
  • Previous by thread: Re: Selecting files of type zip
  • Next by thread: Re: Selecting files of type zip
  • Index(es):
    • Date
    • Thread