SomeGuyFromHere
2013-01-08 11:50:31
Hey guys,
plain and simple, I can't get my script to right click anything.
Tried Mouse(x, y, 0, 0, 2) which moves the mouse to the right spot but doesn't open the options menu, and also ClickMouse(x, y, mouse_Right) which just plain doesn't do anything. Got any advice? :garfield:
clickmouse2(mouse_right) ?
The Killer
2013-01-08 11:54:14
With clickmouse, have you already moved the mouse to the cords? and with mouse it works better as Mouse(x, y, 1, 1, Mouse_Right); :P
Gucci
2013-01-08 21:09:21
Try Mouse(x, y, 0, 0, False)
yeah it's Mouse(x, y, rx, ry, mouse_right) instead of Mouse(x, y, rx, ry, 2)
SomeGuyFromHere
2013-01-10 10:56:07
From: Sjoekeloe
yeah it's Mouse(x, y, rx, ry, mouse_right) instead of Mouse(x, y, rx, ry, 2)
Domo arigato, that did the trick. Strangely Clickmouse worked too all of a sudden… ghost in the machine it is I tell ya :D
Don't use ClickMouse, ClickMouse2 is the more human version.
weequ
2013-01-10 13:13:05
Not recommended to use ClickMouse for rs since it releases mouse button instantly etc (detectable). It performs the click at (X, Y) but doesn't move your cursor there. So in order to use it you need to use MoveMouse(X, Y) first.
SomeGuyFromHere
2013-01-10 13:22:08
Again thanks for the tip about clickmouse, heard it before but just realised my other script still used it in one line. Stuff is fixed now :spot:
From: weequ
Not recommended to use ClickMouse for rs since it releases mouse button instantly etc (detectable). It performs the click at (X, Y) but doesn't move your cursor there. So in order to use it you need to use MoveMouse(X, Y) first.
Not MoveMouse but MMouse :p
Syntax
2013-01-11 08:35:31
Also make sure you declare the SRL include:
{$define srl5}
{$i srl/srl.simba}