Jump to content

Looping array.


Recommended Posts

Hi there, I'm new to this programming language, so I wanted to ask is there any way to loop pixelsearching for specific pixel and when there is no pixel it continues working. Something like:

While IsArray($pixel2) = True Then
      MouseMove($pixel2 [0], $pixel2 [1],1)
      MouseClick('left',$pixel2 [0], $pixel2 [1],1)
     
      Sleep(1000)
   WEnd
   If IsArray($pixel) = True Then
      MouseMove($pixel [0], $pixel [1],1)
      MouseClick('left',$pixel [0], $pixel [1],1)
     
      Sleep(5000)
   EndIf
Link to comment
Share on other sites

  • Developers

Told you yesterday not to open a thread again on the same topic even when it isn't explicit anymore.... right?

You will not be able to post for the next 3 days and consider this the last warning.

click

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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