I apologize. I think I misread what you are trying to accomplish. It
sounds like you want to do this for icons that you did not create. I
do not think this is possible with wxPython.
On Oct 22, 2009, at 7:21 PM, Tim Roberts wrote:
Randy Syring wrote:
Is it possible, with a python program, to run through the task bar
icons and change them so that their current single-click event would
get transferred to a double-click event? I click them by mistake
sometimes and its very annoying to wait for the program to open just
so I can close it. I haven't been able to find a way to accomplish
this natively so I figured a python script set to run when my user
logs in and the windows extensions might do the trick.
In short, no. This requires an injectable window hook, and there is
at
present no way to do that kind of window hook in Python.
How do you happen to click on these accidentally? Perhaps there are
other ways to solve this. For example, you can configure the
taskbar so
that it hides itself unless you hover the mouse at the bottom of the
screen. Or, you can drag the taskbar to any other edge of the screen.
If you find yourself hovering around the bottom edge most of the time,
perhaps moving the taskbar to the top would solve that.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32