Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
You are correct, actually. That would be the Sys.Desktop.MouseDown method.
so, what you would do is get your MouseY and MouseX and call the following:
You need the MouseUp call so that it actually releases the mouse button after the right click. A quick test verifies that this two line piece of code will right click wherever the cursor happens to be. so, if you can move the cursor where you want it and then call these two lines, it should do what you want.
so, what you would do is get your MouseY and MouseX and call the following:
Sys.Desktop.MouseDown(2, Sys.Desktop.MouseX, Sys.Desktop.MouseY)
Sys.Desktop.MouseUp(2, Sys.Desktop.MouseX, Sys.Desktop.MouseY)
You need the MouseUp call so that it actually releases the mouse button after the right click. A quick test verifies that this two line piece of code will right click wherever the cursor happens to be. so, if you can move the cursor where you want it and then call these two lines, it should do what you want.
Related Content
- 4 years ago
- 12 years ago
- 3 years ago
- 6 years ago
Recent Discussions
- 8 hours ago