Re: send text returned to clipboard
Re: send text returned to clipboard
- Subject: Re: send text returned to clipboard
- From: Christopher Biagini <email@hidden>
- Date: Tue, 18 Jan 2005 13:01:16 -0500
On Jan 18, 2005, at 11:04 AM, Robert Ly wrote:
I would like copy the value of this variable to the clipboard
then paste it into a new TextEdit document
In addition to Yvan Koenig's suggestion, if you want to make a *new*
document, you can try this:
set theVar to "I am a poor lonesome cowboy."
tell application "TextEdit"
make new document at end of documents with properties {text:theVar}
end tell
You only need the clipboard if you want to actually paste text into an
existing document.
--Chris Biagini
_______________________________________________
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