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