RE: I betray my ignorance - help please
RE: I betray my ignorance - help please
- Subject: RE: I betray my ignorance - help please
- From: "Stockly, Ed" <email@hidden>
- Date: Mon, 10 Sep 2001 11:27:44 -0700
>
>>>Are there an Apple Script equivalents to the HyperCard "Ask" and "Answer" commands?
--Ask
display dialog "Dialog Text" buttons {"A", "B", "Cancel"} default button 2
--Answer
display dialog "Dialog Text" default answer "Default Text" buttons {"A", "B", "Cancel"} default button 2
--Ask File
choose file of type "TEXT" with prompt "Select a text file"
choose folder
--Answer File
new file (new file with prompt "Prompt for file" default name "Name for file")
HTH,
ES