Don't mean to nitpick, but I wanted to clarify that ActiveWindow doesn't apply until you've released alt+tab. Open WEEvent. Open four windows (I'm using Thunderbird, Firefox, WEEvent, and Notepad). Set WEEvent to monitor DesktopWindow.onChildActivate and alt+tab through your windows. You can run three whole cycles through your open windows, stop on one, run a couple more cycles, and return to WEEvent and you'll only find onChildActivate events for the window you actually released alt+tab on. just playing around for a few minutes, I can't come up with an immediate method to tell during an alt+tab sequence what window is selected, although I'm guessing there's some way to figure it out. Maybe watch for the tab key to come up with the alt key still down and just copy what Window Eyes speaks? A bit ugly, but I think it'd work. Too focused on basketball to test it right now though!
On 4/21/2011 8:56 PM, Chip Orange wrote:
yes, either work fine; the active window though only works when that window
is actually active.  if you want it's title and it's not the active window,
then you'll have to use something else.  if the something else gives you one
of it's child windows unexpectedly, use of the .overlap (if it's not empty),
should give you the parent top level window.  overlap can be empty, so I
guess it's possible neither is 100% the right answer.

Chip


-----Original Message-----
From: Kevin Huber [mailto:[email protected]]
Sent: Thursday, April 21, 2011 9:24 AM
To: [email protected]
Subject: Re: Window title, when alt-tabbing?

Hi David:
It is the activewindow.title.  Just press control-alt-q to go into Immediate
Mode, then type the following, without the quotes:
"speak activewindow.title"
Then press Enter and you will hear the same information as when you press
control-shift-t, and that, in turn, is the same information that you hear
when you alt-tab to the window which was in focus when you went into
immediate mode.

On 4/20/11, David<[email protected]>  wrote:
Whenever I hit Alt-Tab, I hear the title of the window spoken. That is
the window that will gain focus, when I release Alt-Tab. OK, guess you
all know what I mean.

My question is, which information is this actualy?
- The Overlap.title?
- ActieWindow.Title?
- or, is it anything else?

Thanks alot!


Reply via email to