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

Re: Microsoft Word ... active window problems


  • Subject: Re: Microsoft Word ... active window problems
  • From: kai <email@hidden>
  • Date: Wed, 23 Nov 2005 00:46:16 +0000


On 22 Nov 2005, at 23:43, David Crowe wrote:

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

[snip]

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.

Yes, the approach is slightly different, David. Try active window:

tell application "Microsoft Word"
	name of active window
end tell
--> "Document1"

---
kai


_______________________________________________ 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: 
 >Microsoft Word ... active window problems (From: David Crowe <email@hidden>)

  • Prev by Date: Re: Tiger broke my Excel->PDF Script
  • Next by Date: Re: Microsoft Word ... active window problems
  • Previous by thread: Microsoft Word ... active window problems
  • Next by thread: Re: Microsoft Word ... active window problems
  • Index(es):
    • Date
    • Thread