Re: set the clipboard not available in in some apps (like Word)
Re: set the clipboard not available in in some apps (like Word)
- Subject: Re: set the clipboard not available in in some apps (like Word)
- From: Joseph Weaks <email@hidden>
- Date: Mon, 13 Dec 2004 20:03:27 -0600
On Dec 13, 2004, at 7:31 PM, Paul Berkowitz wrote:
On 12/13/04 5:16 PM, "Christopher Nebel" <email@hidden> wrote:
On Dec 13, 2004, at 10:49 AM, Joseph Weaks wrote:
I wonder if anyone can easily provide an example statement that sets
a
variable of unicode text to the general pasteboard (ie. system
clipboard) in a way that includes a TEXT part along with the UTXT
part.
set s to "something" as Unicode text
set the clipboard to {text:(s as string), Unicode text:s}
Oh, that's good! For purposes of Word, I believe that it's better to
lie and
enter Unicode text for text flavor as well, however:
set s to "something" as Unicode text
set the clipboard to {text:s, Unicode text:s}
That's what Word does itself, I'm told.
Fantastic, Chris. A thousand thank-you's. It's working perfectly, and I
can leave the general handler in this format and now don't have to make
a special case for Word.
Joe Weaks
_______________________________________________
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