Re: Choose Folder
Re: Choose Folder
- Subject: Re: Choose Folder
- From: Yvan KOENIG <email@hidden>
- Date: Tue, 29 Sep 2009 09:16:04 +0200
Le 29 sept. 2009 à 04:30, Chris Page a écrit : 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.
That's OK Mr. Page but why is the OS ignoring file types like .csv or .css ? Is it so difficult to define true UTI for such common types ? They would be useful for Choose File calls.
Yvan KOENIG (VALLAURIS, France) mardi 29 septembre 2009 09:15:04
|
_______________________________________________
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