Sign in to follow this  
Followers 0
xJAMESx

Need Help with Script

2 posts in this topic

Hello

I search a code that adds coords on that code, that the mouse click under the foundet pixel:

$coord = PixelSearch( 100, 100, 1280, 950, FARBE, 1, 2)
If Not @error Then
   MouseMove($coord[0],$coord[1],0)
   MouseClick("right",$coord[0],$coord[1])
   Sleep (50)
EndIf

A Exampel:

PIXEL

MOUSECLICK

Please Help me

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

mmm ... don't think I understand what you want ...

.. and what is the intend of FARBE in the first statement ? is that supposed to be a variable containing the color ?

Variables always start with an $ .

:whistle:

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0