• 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
Microsoft Word ... active window problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Microsoft Word ... active window problems


  • Subject: Microsoft Word ... active window problems
  • From: David Crowe <email@hidden>
  • Date: Tue, 22 Nov 2005 16:43:14 -0700

Title: Microsoft Word ... active window problems
According to the Microsoft Word (Office 2004) dictionary Class window has a boolean attribute "active".


This works as expected with the following code:

tell application "Microsoft Word"
        active of every window
end tell
--> {false, true, false, false}

With the Finder, with a boolean, I can do something like this:

tell application "Finder"
      
name of first process whose frontmost is true
end tell
--> "Smile"

But, if I try the same in Word I get nothing, e.g.

tell application "Microsoft Word"
      
name of first window whose active is true
end tell
--> missing value


What am I doing wrong? Is it me or Bill Gates? I have tried several other variants and all fail in one way or another.

- David Crowe
 _______________________________________________
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

  • Follow-Ups:
    • Re: Microsoft Word ... active window problems
      • From: Paul Berkowitz <email@hidden>
    • Re: Microsoft Word ... active window problems
      • From: kai <email@hidden>
  • Prev by Date: Tiger broke my Excel->PDF Script
  • Next by Date: Re: Mount Volume osax 10.4
  • Previous by thread: Re: Tiger broke my Excel->PDF Script
  • Next by thread: Re: Microsoft Word ... active window problems
  • Index(es):
    • Date
    • Thread