Re: scripting Word top copy text - should be simple, but ain't
Re: scripting Word top copy text - should be simple, but ain't
- Subject: Re: scripting Word top copy text - should be simple, but ain't
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 25 Apr 2006 19:36:16 -0700
- Thread-topic: scripting Word top copy text - should be simple, but ain't
On 4/25/06 6:41 PM, "Michelle Steiner" <email@hidden> wrote:
> On Apr 25, 2006, at 12:15 PM, Charles Arthur, UKClimbing Editor wrote:
>
>>> tell application "Microsoft Word"
>>> content of text object of document "Hello.doc" -- or document 1, or
>>> document whatever
>>> end tell
>>
>> Except: how do you work out what document you've opened?
>
> Either by name, or by the fact that the most recently opened document
> is window 1 or document 1.
In Word 2004, in the latter case, use the built-in application property
active document
for best results.
--
Paul Berkowitz
_______________________________________________
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