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

Choose Folder


  • Subject: Choose Folder
  • From: Luther Fuller <email@hidden>
  • Date: Wed, 23 Sep 2009 14:16:17 -0500

I ment to write ...

set defaultLocation to alias "Work_Files:TESTING:"

But, I was not watching carefully and wrote ...

set defaultLocation to alias "Work_Files:TESTING:TEST.sparsebundle"
"Choose a folder ..."
choose folder with prompt the result default location defaultLocation

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?

 _______________________________________________
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: Chris Page <email@hidden>
  • Prev by Date: Setting Finder icon positions bug report update for Snow Leopard
  • Next by Date: Variables & quotes
  • Previous by thread: Setting Finder icon positions bug report update for Snow Leopard
  • Next by thread: Re: Choose Folder
  • Index(es):
    • Date
    • Thread