Code:
#include <ImageSearch.au3>
$TimeTolerance = 0
$FFOpenPath = "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
$x = 0
$y = 0
ShellExecute($FFOpenPath)
Do
$search = _ImageSearch('FFOpened.bmp', 0, $x, $y, 0)
If $search = 1 Then
MsgBox(0,"ImageSearch","It worked!")
ExitLoop()
ElseIf $search = 0 Then
MsgBox(0,"ImageSearch","Can't find image!")
Sleep(5000)
$TimeTolerance = $TimeTolerance + 1
EndIf
Until $TimeTolerance = 3
The bot simply runs firefox and does nothing more
Can you help me?
Thanks







