• 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: Choose File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >RE: Choose File (From: "Ruby Madraswala" <email@hidden>)

  • Prev by Date: RE: Choose File
  • Next by Date: RE: Choose File
  • Previous by thread: RE: Choose File
  • Next by thread: RE: Choose File
  • Index(es):
    • Date
    • Thread