re:Copy dialog result to Clipboard
re:Copy dialog result to Clipboard
- Subject: re:Copy dialog result to Clipboard
- From: Ken Dobson <email@hidden>
- Date: Wed, 21 Mar 2001 22:22:08 -0500
on 3/21/01 4:26 PM, email@hidden at
email@hidden wrote:
>
Message: 14
>
Date: Wed, 21 Mar 2001 14:03:30 -0700
>
Subject: Copy dialog result to Clipboard
>
From: Applescript Member <email@hidden>
>
To: <email@hidden>
>
>
How is a dialog result copied to the Clipboard?
>
>
Thanks,
>
Jeff
The Standard Additions dictionary has the "set the clipboard to" command as
well as other clipboard commands.
In plain old AS it would be like:
--
display dialog "Write Something" default answer ""
set the clipboard to the text returned of the result
--