Re: Microsoft Word ... active window problems
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