AppleScript Tutorial Wiki
Advertisement

Copy Cat is a script that returns the text that is entered into a display box.

Code[]

This is the source code for a particular script.

set text_returned to the text returned of (display dialog "Enter a word or phrase." default answer "" buttons {"Enter"})
display dialog text_returned

Copy Cat

Results of running the Copy Cat script.

Advertisement