Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] How to present a Open Dialog box?



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

References: 
 >[Q] How to present a Open Dialog box? (From: JongAm Park <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.