Re: [Q] How to present a Open Dialog box?
Re: [Q] How to present a Open Dialog box?
- Subject: Re: [Q] How to present a Open Dialog box?
- From: Peter Waibel <email@hidden>
- Date: Wed, 13 Sep 2006 10:14:25 +0200
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.
set dialogResultRec to display dialog "Choose a Folder" buttons
{"Cancel", "Choose"} default button "Choose"
if button returned of dialogResultRec is "Choose" then
set folderAlias to choose folder
end if
return folderAlias
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden