-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
double click not working on JAB element #71
Comments
You may available to run win32 function again for double click |
I really want to help in documenting this. Can I join in the exercise..if
so how
…On Wed, 28 Feb, 2024, 06:18 Gary, ***@***.***> wrote:
You may available to run win32 function again for double click
def click_mouse(x: int, y: int, hold: int = 0, button: str = "left") ->
None: mouse_down_act = ( win32con.MOUSEEVENTF_LEFTDOWN if button == "left"
else win32con.MOUSEEVENTF_RIGHTDOWN ) mouse_up_act = (
win32con.MOUSEEVENTF_LEFTUP if button == "left" else
win32con.MOUSEEVENTF_RIGHTUP ) win32api.SetCursorPos((x, y))
win32api.mouse_event(mouse_down_act, x, y, 0, 0) if hold: time.sleep(hold)
win32api.mouse_event(mouse_up_act, x, y, 0, 0)
—
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF5UMRL55SKVRSIAS2QNNSLYVZ5G7AVCNFSM6AAAAABCYF2YY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRXHE4DGMRTG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The simple way is try to click same element twice. |
there is an option to single click but double click is not working.
The text was updated successfully, but these errors were encountered: