1
Общие вопросы / Re: Определение буквы и нажатие её
« on: March 08, 2015, 02:35:56 PM »
Получился такой код:
Но он, не работает
Code: (clickermann) [Select]
GETSCREEN
COLORMODE(6)
IF_PICTURE_IN (0,0, 1920, 1080, "Y.bmp", 65280, 80)
KEYPRESS(#Y)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "Y1.bmp", 65280, 80)
KEYPRESS(#Y)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "Y2.bmp", 65280, 80)
KEYPRESS(#Y)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "yy.bmp", 65280, 80)
KEYPRESS(#Y)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "yy1.bmp", 65280, 80)
KEYPRESS(#Y)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "yy2.bmp", 65280, 80)
KEYPRESS(#Y)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "yyy.bmp", 65280, 80)
KEYPRESS(#Y)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "yyy1.bmp", 65280, 80)
KEYPRESS(#Y)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "yyy2.bmp", 65280, 80)
KEYPRESS(#Y)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "n.bmp", 65280, 80)
KEYPRESS(#N)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "n1.bmp", 65280, 80)
KEYPRESS(#N)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "n2.bmp", 65280, 80)
KEYPRESS(#N)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "nn.bmp", 65280, 80)
KEYPRESS(#N)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "nn1.bmp", 65280, 80)
KEYPRESS(#N)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "nn2.bmp", 65280, 80)
KEYPRESS(#N)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "h.bmp", 65280, 80)
KEYPRESS(#H)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "h1.bmp", 65280, 80)
KEYPRESS(#H)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "h2.bmp", 65280, 80)
KEYPRESS(#H)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "HH.bmp", 65280, 80)
KEYPRESS(#H)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "HH1.bmp", 65280, 80)
KEYPRESS(#H)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "HH2.bmp", 65280, 80)
KEYPRESS(#H)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "hhh.bmp", 65280, 80)
KEYPRESS(#H)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "hhh1.bmp", 65280, 80)
KEYPRESS(#H)
WAITMS(100)
ELSE
IF_PICTURE_IN (0,0, 1920, 1080, "hhh2.bmp", 65280, 80)
KEYPRESS(#H)
WAITMS(100)
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
Но он, не работает