• 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: Fri, 17 Jan 2003 11:30:05 -0800

On 1/16/03 9:42 PM, "David Crowe" <email@hidden> wrote:

> 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.

What do mean "neglects"? Have you told it to "un-minimizing" the window or
make it "visible"?
>
> Just a bug in Word I guess ... now there's a first.

Why do you call it a bug? (Not that there aren't lots of those.) What
happens with other Carbon apps whose documents are minimized? If you haven't
told the window to de-minimize, what do you expect?

The problem is that there is probably no code for this. I don't think that
they added anything to applescript when carbonizing and rushing out Word X.
I think it's quite possible they may do a lot more in the next version of
Word. In the meantime, it would be good if you could plug the OS X Dock into
the same minimize/normalize/maximize commands of VBA, so you could do a 'do
Visual Basic'. Windows has the same, or similar, sort of dock at the bottom
of the screen and the same 3 states. that's where OS X got it: they stole
something back from Windows. Have you checked the VBA? Maybe it works
already? I'll check the next time I'm in VBE in Word.


--
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: 
 >re: Microsoft Word - bringing a window to the front... (From: David Crowe <email@hidden>)

  • Prev by Date: Re: [OT] AppleScript scripts versus Shell scripts
  • Next by Date: Moving files
  • Previous by thread: re: Microsoft Word - bringing a window to the front...
  • Next by thread: Re: Microsoft Word - bringing a window to the front...
  • Index(es):
    • Date
    • Thread