Sign in to follow this  
Followers 0
Anican

Pixelchecksum area scanning

4 posts in this topic

Hi. Im going to make a script witch is scanning for grapical changes. The problem is that the script is going to scan three or more areas at the same time, depending on a variable. If its = 1, one area wil be scanned and so on.. Anyone know how i can do that with autoit? Is it possible with three running loops scanning these different areas at the same time? Thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Regarding 3 running loops: Not without three separate scripts. You could "time slice" the scanning routine by placing it in a loop and a conditional statement to execute the area you want...

While 1
   Sleep(10)
   $temp += 1
   Switch $temp
      Case 1
         (scan region 1)
      Case 2
         (scan region 2)
      Case 3
         (scan region 3)
      Case Else
         $temp = 0
   EndSwitch
WEnd

What are you scanning, by the way?

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

Okei. Thanks. Its a script for notifying livefeeds and set up an alert :D But if im going for three different scripts. Is it possible to make them communicate?

Share this post


Link to post
Share on other sites

There are a number of ways for scripts to communicate.

From file usage to dllstructs and memory reading.

Some terms to use in your search are.

Process communication

Script communication

Program comm...

You get the idae.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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