Skip to content
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

mouse_drag method errors with "Invalid index.. Specifically: 8" #264

Closed
OrangeCash090 opened this issue Feb 25, 2024 · 2 comments · Fixed by #265
Closed

mouse_drag method errors with "Invalid index.. Specifically: 8" #264

OrangeCash090 opened this issue Feb 25, 2024 · 2 comments · Fixed by #265
Labels
bug Something isn't working

Comments

@OrangeCash090
Copy link

I am trying to use ahk.mouse_drag, but despite what I do it always errors with "Invalid Index.. Specifically: number". This is my code:

ahk.mouse_move(500, 500)
ahk.key_press("RButton")
ahk.mouse_drag(500, 600)
ahk.key_release("RButton")

@spyoungtech spyoungtech added the bug Something isn't working label Feb 26, 2024
@spyoungtech
Copy link
Owner

Thanks for the report. I confirmed this is a bug that exists when using AutoHotkey version 2. I will look into it and see if I can get a fix out ASAP.

@spyoungtech
Copy link
Owner

@HeroShiner46 this has been fixed in #265 and has been released in version 1.5.1 -- let me know if this fixes your problem or if you have any other further issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants