Log in

View Full Version : Complete Noob Question - Please Help?



jis777
02-10-2012, 08:45 AM
Hey guys! I'll get to the point. Basically, I want to learn how to use Simba (and Pascal in general at first).

However, for some reason the ClickMouse() procedure isn't working. This is my "script".



program new;
begin
ClickMouse(150,150,mouse_Left);
end.


Completely and utterly pointless and yet.....it doesn't work.

WHY!? It SHOULD work. The mouse doesn't move...it doesn't do anything! I've tried replacing mouse_Left with 0,1,2,true etc. etc. and yet nothing works.

Yes, I KNOW that you can just use SRL and use the MMouse procedure, but my example SHOULD work and yet it doesn't. Why not?

JuKKa
02-10-2012, 09:04 AM
clickmouse just clicks. use MMouse

jis777
02-10-2012, 11:46 PM
clickmouse just clicks. use MMouse

Yeah but, it's not even doing that. It's not doing ANYTHING.

You said: "it just clicks", but its NOT clicking.

jis777
02-13-2012, 05:53 AM
BUMP! Why is this question so hard to answer?

RyGuy
02-13-2012, 06:07 AM
You have to move the mouse to the position before clicking on that position, don't you?

ShawnjohnSJ
02-13-2012, 06:21 AM
You have to move the mouse to the position before clicking on that position, don't you?

No. When you use ClickMouse() it automatically teleports the cursor to the said coordinates.

I'm not sure what's wrong with your script.. I honestly don't see anything wrong with it, are you running Simba under Windows or with Wine?

Sockz
02-13-2012, 09:11 AM
hey buddy try this

mouse(150, 150, 0, 0, 1);

Its in the format mouse(x, y, ranx, rany, button)

leaving ranx and rany 0 will click directly where you want it to

and for the button, 1 = left click, 0 i think = right click

goodluck :D

Sex
02-13-2012, 10:27 AM
It doesn't work for me either, what the hell?
MoveMouse does though..