Re: Selecting files of type zip
Re: Selecting files of type zip
- Subject: Re: Selecting files of type zip
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 16 Apr 2009 12:01:13 -0400
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.
--
Mark J. Reed <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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden