Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
finding one of the picture
#1
Hello guys!
I will be grateful if you can help me finish the macro

int G1 G2 G3
G1 = wait(0.1 S "image:h20407485" 0 0 1|16|0x400);err
if G1 = 1
out "1"
G2 = wait(0.1 S "image:h11C97E7C" 0 0 1|16|0x400);err
if G2 = 1
out "2"
G3 = wait(0.1 S "image:h175035C7" 0 0 1|16|0x400);err
if G3 = 1
out "3"
if G1 and G2 and G3 = 0 repeat wait until one of them will be find
#2
Macro Macro2840
Code:
Copy      Help
int g = wait(0 S "image:h20407485[]image:h11C97E7C[]image:h175035C7" 0 0 1|16|0x400)
out g
It is in scan help too.
#3
Gintaras Wrote:Macro Macro2840
Code:
Copy      Help
int g = wait(0 S "image:h20407485[]image:h11C97E7C[]image:h175035C7" 0 0 1|16|0x400)
out g
It is in scan help too.
Thx for help, but I think this is not my case. I did not explain the task well
On the screen at a certain moment appear one of three pictures. I need to wait for this moment and write text to the file ( in example I use comand out for
simplicity ) and go to the next parts of the macro. I think in your option, only the search for three pictures
#4
The problem is solved using the label..


Forum Jump:


Users browsing this thread: 2 Guest(s)