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

Re: Choose Folder


  • Subject: Re: Choose Folder
  • From: Chris Page <email@hidden>
  • Date: Mon, 28 Sep 2009 19:30:07 -0700

On Sep 23, 2009, at 12:16 PM, Luther Fuller wrote:

Yes, I know that a sparsebundle file is really a folder, but the response of 'choose folder ...' gives an unsophisticated user a opening to do grievous mischief to themselves. My script is about to create a sparsebundle in the location chosen by the user.

Of course, I can (and will) test defaultLocation with ...

class of (item defaultLocation) is folder

But, shouldn't 'choose folder ...' do that?

If you point the default location at the folder containing the *.sparsebundle, it won’t let the user navigate inside, but if you explicitly tell it to start inside the bundle, it will do as you ask. I view this as a feature. It’s like Finder’s “Show Package Contents” command: If you tell it to look inside a package/bundle, it will.

-- 
Chris Page

 _______________________________________________
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

  • Follow-Ups:
    • Re: Choose Folder
      • From: Yvan KOENIG <email@hidden>
References: 
 >Choose Folder (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: AS Application
  • Next by Date: Re: Choose Folder
  • Previous by thread: Choose Folder
  • Next by thread: Re: Choose Folder
  • Index(es):
    • Date
    • Thread