Re: Can anyone explain Word behavior???
Re: Can anyone explain Word behavior???
- Subject: Re: Can anyone explain Word behavior???
- From: "Arthur J Knapp" <email@hidden>
- Date: Mon, 05 Mar 2001 09:56:19 -0500
>
Subject: Can anyone explain Word behavior???
>
Date: Sun, 4 Mar 2001 16:28:16 -0600
>
From: Bill Planey <email@hidden>
>
I have a script which copies tables and/or paragraphs from one Word
>
document to the next. It works just fine, EXCEPT when Word is running
>
in the background, in which case the clipboard is empty.
Yes, the clipboard commands do not work well when the application
is not frontmost. Even those applications that have define their own
AppleScriptable clipboard object usually require the app to first be
"activated".
>
Anyway (done ranting), has anyone else encountered this weird clipboard
>
problem and actually found a way to make Word copy and paste correctly
>
when running in the background?
Jon Pugh has a "slamClipboard" technique:
<
http://www.seanet.com/~jonpugh/JonsCommandsDocs.html#clipboardcommands>
For those who don't know, Jon is the original author of the clipboard
commands that are availble in Standard Additions, as well as in his own
Jon's Commands.
Now to the real problem. I don't have much experience with scripting
Word, but I'll bet someone on the list can find a better way to pass
information between two or more Word windows without resorting to the
clipboard.
Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden
Hey, check out:
http://www.LateNightSW.com