Jump to content

cr7_

Members
  • Posts

    3
  • Joined

  • Last visited

cr7_'s Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. i have to start these both to make it work how do i make it work in one ?
  2. first au3 file #include <ImageSearch2015.au3> #include <MsgBoxConstants.au3> $x1=0 $y1=0 $picture = "C:\Program Files (x86)\AutoIt3\ImageSearch2015\test1.bmp" while 1 do $result = _ImageSearch($picture,1,$x1,$y1,0,0) ;_ImageSearch($findImage,$resultPosition,ByRef $x, ByRef $y ,$tolerance , $transparency = 0) ConsoleWrite($result) Until $result = 1; if $result = 1 Then MouseMove($x1,$y1, 0 ) MouseClick("left" , $x1 , $y1 , 1 , 0) else MsgBox(0,"MSG","END") EndIf WEnd $x1=0 $y1=0 $picture = "C:\Program Files (x86)\AutoIt3\ImageSearch2015\test2.bmp" while 1 do $result = _ImageSearch($picture,1,$x1,$y1,0,0) ;_ImageSearch($findImage,$resultPosition,ByRef $x, ByRef $y ,$tolerance , $transparency = 0) ConsoleWrite($result) Until $result = 1; if $result = 1 Then MouseMove($x1,$y1, 0 ) MouseClick("left" , $x1 , $y1, 1 , 0) else MsgBox(0,"MSG","END") EndIf WEnd second file while 1 MouseWheel("up",50) sleep(2500) MouseWheel("down",50) sleep(2500) WEnd third file
  3. hello AutoIt Coders Experts etc , I have a problem and hope that here are some people to solve it . I have multiple Functions and want to run them at same time maybe a time delay so if function x = wrong do function y for example if i make a new script.au3 file for each function and run them it works but i dont want to run like 3 scripts at same time is there a way i can do all in on? e
×
×
  • Create New...