On or near 10/22/01 3:14 AM, Carl Erling at [EMAIL PROTECTED] observed:
> .....Who needs to copy the style of an email text anyway.
> That's not a feature, that's a bug, imho. :)
>
> (By the way: Has anybody written an apple script to
> grab either a sender's email of highlighted text
> into the system pastboard (...without any text styles,
> just the plain text) ?
>
I'm pretty sure that text copied into an AppleScript variable, and then back
to the clipboard, will not maintain any styling info. So:
tell application "Microsoft Entourage"
set x to the selection
set the clipboard to x
end tell
That should do it for any highlighted text. For the sender's address, you
need to get a reference to the message, then the address (which will be
plain text) such as [EMAIL PROTECTED] (Obtained by running the script below on
your message):
tell application "Microsoft Entourage"
set aMsg to item 1 of (get current messages)
set the clipboard to (get address of sender of aMsg)
end tell
--
Add me to Palm/Visor: http://signature.coola.com/?[EMAIL PROTECTED]
Allen Watson <[EMAIL PROTECTED]> XNS name: =Allen Watson
Applescripts for Outlook Express and Entourage:
<http://homepage.mac.com/allenwatson/>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>