sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41368
[Question #446764]: Different kind of click
New question #446764 on Sikuli:
https://answers.launchpad.net/sikuli/+question/446764
Hey there,
I wonder if it's possible to use the other click of the mouse
The soft i'm using has many different click possible (Left Click = B1 / Right Click = B3 / middleClick = B2)
there are the 3 differents clicks are usable with click, rightClick ...
But on my mouse i need to use some other buttons (B4, B5 for example) and i wonder how can i use them or if i have to write a little function like i've done for the click B2 (middleClick) which is the WheelClick :
Click B2 =
#start
def middleClick(self, psmrl):
try:
psmrl = sel.find(psmrl).getTarget()
except:
pass
hover(psmrl)
mouseDown(Button.MIDDLE)
mouseUp(Button.MIDDLE)
#end
Thanks for you answer
Vincent.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.