Hi,
With python win32 is there a way to get only the windows that are
represented by the buttons of the Windows taskbar (or the windows
listed in the "alt-tab" list)?
I have found various ways of doing so, but I can't seem to get them
to work with Excel's windows.
From what I observe (I may be wrong though), Excel by default
appears to have a main window and some "dummy windows"
(classname=MS-SDIb) representing the opened Excel documents. If you
click on those "dummy windows" the relevant excel document gets
foregrounded in the _main_ window (not the dummy windows).
If three Excel documents are opened, there are four top level Excel
windows (or at least they appear to be top level to me) - the main,
and three MS-SDIb ones. But the taskbar and alt-tab list only show 3
items. What logic should one use to create the same list?
I've created a python program to dynamically map key combos to
top-level windows[1], it kind of works (enough to be helpful to me),
but I'm having difficulty handling even common stuff like the Excel
case so it's not ready to be inflicted on the public yet :).
Thanks,
Link.
[1] Does something similar to some of the stuff I suggest here:
http://www.mail-archive.com/usabil...@gnome.org/msg04993.html
and here:
http://live.gnome.org/GnomeShell/DesignersPlayground/KeyboardShortcuts
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32