Jump to content
Sign in to follow this  
pepsip77

Looping array.

Recommended Posts

pepsip77

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

Share this post


Link to post
Share on other sites
Jos

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 Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×