• 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: "Ruby Madraswala" <email@hidden>
  • Date: Fri, 20 Oct 2006 08:57:40 -0400
  • Thread-topic: Choose File

I thought I will take this one step further, use the multiple selections

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

-----Original Message-----
From: Michelle Steiner [mailto:email@hidden]
Sent: Thursday, October 19, 2006 1:31 PM
To: Applescript Users
Subject: Re: Choose File

On Oct 19, 2006, at 10:14 AM, Ruby Madraswala wrote:

> How can I set a default folder, so the choose command will always open
> the default folder to select files from?

It's in the dictionary:

choose file v : Choose a file on a disk or server
choose file
[with prompt string] : the prompt to be displayed in the dialog box
[of type list of string] : a list of file types or type identifiers.
Only files of the specified types will be selectable.
[default location alias] : the default file location
[invisibles boolean] : Show invisible files and folders? (default is
true)
[multiple selections allowed boolean] : Allow multiple items to be
selected? (default is false)
[showing package contents boolean] : Show the contents of packages?
(Packages will be treated as folders. Default is false.)
→ alias : the chosen file

--
If you always reach your goals, you set the bar too low.  If you
never reach your goals, you set the bar too high.

 _______________________________________________
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

 _______________________________________________
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

  • Follow-Ups:
    • Re: Choose File
      • From: Bill White <email@hidden>
  • Prev by Date: Re: Date trouble
  • Next by Date: Re: Choose File
  • Previous by thread: Re: Choose File
  • Next by thread: Re: Choose File
  • Index(es):
    • Date
    • Thread