Re: Microsoft Word - bringing a window to the front....
Re: Microsoft Word - bringing a window to the front....
- Subject: Re: Microsoft Word - bringing a window to the front....
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 15 Jan 2003 08:20:08 -0800
On 1/14/03 6:43 PM, "David Crowe" <email@hidden> wrote:
>
However, I can't find a method to bring a Word window to the
>
frontmost position.
>
>
Does anyone know how to do this (I've tried "tell window x to active"
>
and it doesn't seem to do anything, I've tried changing the bounds of
>
the window, but this doesn't do it either).
Assuming you know the name of the window:
tell application "Microsoft Word"
activate
set docName to "Whatever.doc"
do Visual Basic "Documents(\"" & docName & "\").Activate"
end tell
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.