Adjust the script to autoit

Employer
[no-member:pro]Александр[/no-member:pro]
Project parameters
Type of cooperationOne-time project
SectionSoftware development
Prepaymentwithout prepayment
Payment methodsElectronic money
Acceptance of requestsfrom Apr 26, 2019 until Apr 30, 2019
Project description
I worked with a programmer, but he disappeared, and he never finished the script.
The objectives are as follows:
1. Fix looping (determine looping by no window – press the button)
2. The software goes into looping, most likely, waiting for the pixel, which periodically appears. And periodically does not appear, you need to add a second pixel to the software worked correctly.
3. Process the sign and continue work (2 buttons)
4. The hardest thing is to make a check for internal tunneling and add it to the script.
The objectives are as follows:
1. Fix looping (determine looping by no window – press the button)
2. The software goes into looping, most likely, waiting for the pixel, which periodically appears. And periodically does not appear, you need to add a second pixel to the software worked correctly.
3. Process the sign and continue work (2 buttons)
4. The hardest thing is to make a check for internal tunneling and add it to the script.