Re: Selecting files of type zip
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