• 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 - bringing a window to the front....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Microsoft Word - bringing a window to the front.... (From: David Crowe <email@hidden>)

  • Prev by Date: To post to this list, send your email to:
  • Next by Date: Re: unicode escape sequences in AppleScript strings
  • Previous by thread: Re: Microsoft Word - bringing a window to the front....
  • Next by thread: Scripting Microsoft UAM
  • Index(es):
    • Date
    • Thread