Re: Choose location dialog - view as html
Re: Choose location dialog - view as html
- Subject: Re: Choose location dialog - view as html
- From: Christopher Nebel <email@hidden>
- Date: Tue, 18 Mar 2003 17:27:05 -0800
On Tuesday, March 18, 2003, at 04:21 PM, Daniel wrote:
Does anyone have some straightforward code for a choose location of
folder
dialog, i also need a new folder option on the dialog which would
return be
similar to the first IF statement.
I started writing something but got a little lost:
display dialog "Backup Location" buttons {"New Folder", "Cancel",
"Choose"}
set rslt to result
if button returned of rslt is "New Folder" then...
else if button returned of rslt is "Choose" then
display dialog "Choose Destination for backup files" ##
this is what I need,this If statement doesn't make any sense to me
As A. Oliver said, you want 'choose folder with prompt "Choose..."'.
However, once you have that, the rest of this code is superfluous. The
"choose folder" dialog lets you make a new folder, and of course has
its own Cancel button, so all this could be condensed down to
choose folder with prompt "Choose destination for backup files"
--Chris Nebel
Apple Development Tools
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.