• 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: [Q] How to present a Open Dialog box?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: AppleScript in Rosetta
  • Next by Date: Re: AppleScript in Rosetta
  • Previous by thread: [Q] How to present a Open Dialog box?
  • Next by thread: [Q] How to access a bundle?
  • Index(es):
    • Date
    • Thread