Jump to content

Need Help with Script


Recommended Posts

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

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

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