Sign in to follow this  
Followers 0
Pigletto

Controlclick without id

4 posts in this topic

#1 ·  Posted

Hello!

I wrote script which simulates mouse clicks. First it right click in one particular place, then it left click in one of many points. I achieved that with Mouseclick() and it works fine. But now i want script to work in "background" so i used Controlclick() function. But there's no control ID. This is what i tried to do:

$square = Floor(Random(0,$length)) ;this one gets length of array with coordinates

;MouseClick("right", 1634,195 ,1,1) first version-works fine

ControlClick("Medivia","", "", "right",1,1634,195)

;MouseClick("left", $cordX[$square], $cordY[$square]) first version-works fine

ControlClick("Medivia","", "", "right",1 ,$cordX[$square] ,$cordY[$square])

It partly works... script clicks, but only in the place where i leave the mouse pointer,  it does not move mouse pointer at all.

Could anybody help me?

Share this post


Link to post
Share on other sites



#2 ·  Posted

@Pigletto is this for Medivia Online?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#3 ·  Posted

28 minutes ago, JLogan3o13 said:

@Pigletto is this for Medivia Online?

Yes.

Share this post


Link to post
Share on other sites

#4 ·  Posted

I feared as much. You seem to have missed the forum rules on your way in. Please read them now, specifically the section on game automation, and you will see why this thread is closed. You will not receive help on this subject here.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0