I wish my script to react to various images that appear. I was reading up on events and loops but am still perplexed by the syntax and where it goes.
Code: Select all
SetFocus>Test
//Wait for
WaitScreenImage>%BMP_DIR%\image_1.bmp,0.7,CCOEFF
HoldKey>s,50,0
Wait>1.000
HoldKey>v,50,0
Wait>1.000
HoldKey>s,50,0
Wait>1.000
HoldKey>a,50,0
Wait>1.000
HoldKey>g,50,0
Wait>1.000
HoldKey>t,50,0
Wait>1.000
//Wait for
WaitScreenImage>%BMP_DIR%\image_3.bmp,0.7,CCOEFF
HoldKey>v,50,0
Wait>2.000
HoldKey>v,50,0
Wait>1.000
endif