Thread-topic: [Q] How to present a Open Dialog box?
User-agent: Microsoft-Entourage/11.2.5.060620
On 9/12/06 3:23 PM, "JongAm Park" <email@hidden>
wrote:
>
> I would like to put a button with which a user can choose a target
> directory.
> So, if the button is pressed, an open dialog box should appear.
> However I couldn't find any AppleScript command for this.
choose folder
It's in the Standard Additions dictionary which you can access in Script
Editor. Its result is in an 'alias', or can be coerced 'as Unicode text' to
a colon-delimited file path. If you need to convert it to a POSIX path
instead, use 'POSIX path of' the (alias) result.
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden
This email sent to email@hidden