• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: scripting Word top copy text - should be simple, but ain't
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

  • Prev by Date: Re: Struggling with a script
  • Next by Date: Re: scripting Word top copy text - should be simple, but ain't
  • Previous by thread: Re: scripting Word top copy text - should be simple, but ain't
  • Next by thread: Re: scripting Word top copy text - should be simple, but ain't
  • Index(es):
    • Date
    • Thread