• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Choose location dialog - view as html
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Choose location dialog - view as html (From: Daniel <email@hidden>)

  • Prev by Date: Formatting text returned from shell script
  • Next by Date: Re: Choose location dialog - view as html
  • Previous by thread: Re: Choose location dialog - view as html
  • Next by thread: Re: Active Application -Smile-
  • Index(es):
    • Date
    • Thread