Jump to content

help with mouse click - (LOCKED)


Recommended Posts

so I've been trying to work on a simple script that searches for color and clicks at one location if it found a color and if it didn't find the color click at another location but im having trouble with the command I've already checked the help file the help webpage and everything I'm just confused.

here is what I have for the mouseclick command. when I run it it says there is an inaccessible variable on line 2

if PixelGetColor(1174,746) = 0xA58A45 Then
    MouseClick ( "left" [, ,  [, clicks = 1 [, speed = 0]]] )
Else
    MsgBox(0,"","no click")
EndIf

Edited by JLogan3o13
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...