I made a script to assist me in a game, in the script, there is 4 points that should be right-clicked. However, sometimes the mouse will move, but not trigger the right-click. What could be causing this? I tried this on a regular browser window and everything seems to work fine.
Here is a snipit of the section I'm using for the right-clicks. There is more code if additional info is required:
Code: Select all
menuMove := 0
Ctrl & q::
{
mouseclick, right, 2141, 1178, 1, 0
menuMove := 41
}
return
Ctrl & w::
{
mouseclick, right, 2353, 1178, 1, 0
menuMove := 41
}
return
Ctrl & e::
{
mouseclick, right, 2141, 1374, 1, 0
menuMove := 41
}
return
Ctrl & r::
{
mouseclick, right, 2353, 1374, 1, 0
menuMove := 41
}