• 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 15:20:19 +0200


Le 16 avr. 2009 à 15:10, Michelle Steiner a écrit :

On Apr 16, 2009, at 5:59 AM, Yvan KOENIG wrote:

Which operating system are you using ?
Under 10.4.11, for an archive created by the Finder the returned UTI is: "com.pkware.zip-archive"


With 10.5.6, I get the same results as Axel, whether I use "properties of", or "info for".


Thanks Michelle

So, it seems that when we write a script it would be useful to code:

set theItems to POSIX path of (choose file with prompt "Select an zip file:" of type {"com.pkware.zip-archive", "public.zip-archive"} default location (path to desktop))

to be sure to get a correct result with both operating systems.

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


_______________________________________________ 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
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: Michelle Steiner <email@hidden>)

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