[python-win32] making icons on task bar require double-click

Robert Liebeskind robl at perfectworld.net
Fri Oct 23 11:05:00 CEST 2009


This can be accomplished with the wxPython lib.

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, timr at probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>



More information about the python-win32 mailing list