Jump to content

Recommended Posts

Posted

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

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

Posted

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?

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
  • Recently Browsing   0 members

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