Eudora selected text to variable (was Re: Copy to clipboard)
Eudora selected text to variable (was Re: Copy to clipboard)
- Subject: Eudora selected text to variable (was Re: Copy to clipboard)
- From: Rob Jorgensen <email@hidden>
- Date: Sun, 8 Jul 2001 15:35:50 -0400
On 7/8/01, Tony Cappelli commented:
At 10:10 PM -0700 7/7/01, email@hidden wrote:
On 8/7/01 5:52 AM +1000, Stephen Swift (aka Burnum), email@hidden, wrote:
> I'm looking at the Finder's dictionary, and see that clipboard (a property
> of class application) is read only. But, I thought there was a
way to copy
> text from the Finder into the clipboard?
There is -- set the clipboard to -- but the command has nothing to do with
the Finder.
I have a related question: How do you copy contents of a selection
onto the clipboard? For instance, in Eudora I want to be able to
select a chunk of text and issue a search for that text in Filemaker
(without using Command-C). I have not been able to figure out how to
copy a random selection into a variable.
I would have guessed it would be something like:
tell application "Eudora Pro"
copy selection to theVariable
end tell
...but that doesn't work at all.
Try this:
-- Begin Snippet --
tell application "Eudora"
set theVariable to selected text
end tell
-- End Snippet --
Later,
Rob Jorgensen
Ohio, USA