hey guys today I started to learn auto it because it looks nice and its very intresting.
But after a smal time of writing and testing i get an error and dont knw how to fix because in my opinion ther isnt an error in the text pls help to find my mistake:
code (just a part):
Do
$Ladepixel = PixelGetColor(960,337)
Sleep(10000)
If $Starttest="7697506" Then
MouseClick ("left", 1200,900)
ElseIf MouseClick ("left", 1400,70)
If $Starttest="7697506" Then
MouseClick ("left", 1100,900)
ElseIf MouseClick ("left", 1400,70)
Until $Ladepixel ="4594197"
------------------------------------------
I think:
check colour "$Starttest" if its "7697506" klick on the start button
if not choose option 2(elseif)
check colour again if its "7697506" klick on the start button
if not choose option 1 again(elseif)
do this until $Ladepixel= "4594197" (says that the programm is loading)
whats wrong with my code i cant fix it pls help Error message:
"Until with no matching do statement"![:(]()
---------------------------------------------------------
sorry if im in a wrong treat this is my first post and my english is not very well...
But after a smal time of writing and testing i get an error and dont knw how to fix because in my opinion ther isnt an error in the text pls help to find my mistake:
code (just a part):
Do
$Ladepixel = PixelGetColor(960,337)
Sleep(10000)
If $Starttest="7697506" Then
MouseClick ("left", 1200,900)
ElseIf MouseClick ("left", 1400,70)
If $Starttest="7697506" Then
MouseClick ("left", 1100,900)
ElseIf MouseClick ("left", 1400,70)
Until $Ladepixel ="4594197"
------------------------------------------
I think:
check colour "$Starttest" if its "7697506" klick on the start button
if not choose option 2(elseif)
check colour again if its "7697506" klick on the start button
if not choose option 1 again(elseif)
do this until $Ladepixel= "4594197" (says that the programm is loading)
whats wrong with my code i cant fix it pls help Error message:
"Until with no matching do statement"
![:(](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/sad.png)
---------------------------------------------------------
sorry if im in a wrong treat this is my first post and my english is not very well...