Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >Re: scripting Word top copy text - should be simple, but ain't (From: Michelle Steiner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.