lightbulb
Joined: 16 Mar 2005 Posts: 9
|
Posted: Thu Jun 16, 2005 3:19 am Post subject: conditional double click robbing normal click function? |
|
|
Can anyone correct me on how a normal single left click functions sans AHK? I run an alternate shell, and I set up the following to automatically double click the tray apps (Gaim, specifically).
My problem? I am now robbed of the ability to double click anything else *very quickly* - I have to slow my finger down a little bit, which goes against years of double clicking swiftly. Perhaps I'm doing this in a clunky manner? I'm still a newbie at this.
| Code: | $LButton::
MouseGetPos,,,, tray ; get classNN of tray plugin
if tray = bbIconBox1 ; happens to be classNN of tray plugin
{
MouseClick, left,,, 2 ; double click
}
else
{
MouseClick, left,,, 1, 0, D ; mouse down
KeyWait, LButton ; so I can drag
MouseClick, left,,, 1, 0, U ; mouse up
}
return |
|
|