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: David Crowe <email@hidden>
- Date: Fri, 17 Jan 2003 13:42:25 +0800
On the subject of bringing a window to the front in Word without
telling it to open the file (and thus have to dismiss the dialog box
that results if the window has been modified)...
Thanks to Paul Berkowitz for suggesting to tell Microsoft Word to:
do Visual Basic "Documents(\"" & docName & "\").Activate"
and to Hugh Dixon for:
set selection to window "xxxx.doc"
The only problem is that neither of these work when the window is
minimized (to the Dock in OS X). Word does make them the 'frontmost'
window (i.e. they become checked in the window menu), but it neglects
to make the window visible.
Just a bug in Word I guess ... now there's a first.
- David Crowe
_______________________________________________
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.