Re: Choose File
Re: Choose File
- Subject: Re: Choose File
- From: Bill White <email@hidden>
- Date: Fri, 20 Oct 2006 08:56:52 -0400
- Thread-topic: Choose File
On 10/20/06 8:57 AM, Ruby Madraswala <email@hidden> wrote:
> Set FileToOpen to choose file with prompt "Choose File:" default location
> alias dlocation multiple selections allowed boolean
>
> I tried this in many way separating each option with comma, colon,
> semicolon.... generates error message. Above does not generate an error but
> does not allow multiple selections. I tried selecting using different keys.
> What am I missing?
Ruby,
"Boolean" means either true or false, so depending on what you want, do
either this:
set FileToOpen to choose file with prompt "Choose File:" default location
alias dlocation multiple selections allowed true
Or...
set FileToOpen to choose file with prompt "Choose File:" default location
alias dlocation multiple selections allowed false
The wording of the line will change when compiled, but it's the true and
false you have to supply.
HTH,
Bill
_______________________________________________
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