Pigletto Posted January 9, 2017 Share Posted January 9, 2017 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? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 9, 2017 Moderators Share Posted January 9, 2017 @Pigletto is this for Medivia Online? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Pigletto Posted January 9, 2017 Author Share Posted January 9, 2017 28 minutes ago, JLogan3o13 said: @Pigletto is this for Medivia Online? Yes. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 9, 2017 Moderators Share Posted January 9, 2017 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. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts