Re: Getting a string on the clipboard in OE
Re: Getting a string on the clipboard in OE
- Subject: Re: Getting a string on the clipboard in OE
- From: Rob Jorgensen <email@hidden>
- Date: Sat, 28 Apr 2001 05:49:26 -0400
On 4/28/01, Jan Pieter Kunst commented:
Hello all,
I'm just beginning to play around with Applescript so forgive me if this is
a stupid question.
Not stupid at all, and welcome to AppleScript. :-)
I managed to script Outlook Express to get the source of the selected
message in a variable. Now I want to "copy" this string to the clipboard and
switch to another application, and then paste (Command-V) the string by
hand.
Depending on the version of AppleScript in use, this might work:
set the clipboard to x -- doesn't require a tell statement
tell application "whatever" to activate
--
Rob Jorgensen
For AppleScript scripts, help, related news, software, books
and more, check out <
http://macscripter.net/>.
Pre-order the soon to be released book "AppleScript in a Nutshell" at
<
http://www.amazon.com/exec/obidos/ASIN/1565928415/bbsapplescrine0e>