Jump to content

Pixelchecksum area scanning


Anican
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

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

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...