Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help here!!!
#1
Hello guys

Sorry for my bad English

I need to make works as follows ...


Code:
Copy      Help
#region Recorded 20/04/2016 23:43:07
opt save; opt slowkeys; opt slowmouse; spe 100
double F=2.5 ;;speed
int w2=act(win("... v08.03.25.0" "D3D Window"))
rep
    
    wait 0 C 0x8BEAFA 809 704 w2 1
    'F9; 3.89*F     ;; Iniciar o JOGO!
    wait 4
    rep
        wait 0 C 0xFFFFFF 5 669 w2 1 ;;Aguardar Dialogo
        key x
        wait 2
        key x
    wait 0 C 0xD0F4FF 836 218 w2 1
    'z(#50); 3.39*F  ;; X(*21) Z(*25)
    wait 0 C 0x07072A 649 46 w2 1
    key Z
    wait 1
    
    wait 0 C 0xA29047 531 499 w2 1
    lef 520 507 w2 1 ;; '... v08.03.25.0'
    opt restore
    #endregion

Check if a page is opened to check color
If not open the page, the macro is to skip step

IF wait 0 C 0x07072A 649 46 w2 1

ELSE

wait 0 C 0xA29047 531 499 w2 1
lef 520 507 w2 1 ;; '... v08.03.25.0'
#2
If don't need to wait, use function pixel().

Macro Macro2775
Code:
Copy      Help
if pixel(649 46 w2 1)=0x07072A
,out 1
else
,out 2


Forum Jump:


Users browsing this thread: 1 Guest(s)