SetTitleMatchMode, 2
wintitle:="Genymotion for personal use"
IfWinExist, %wintitle%
CoordMode, Pixel, Screen
ActiveID=%wintitle%
a:: ;자동스킬
CoordMode, Pixel, Screen
CoordMode, mouse, screen
p := 424|430<<16
PostMessage, 0x201, 0, %p%, , %ActiveID%
PostMessage, 0x202, 0, %p%, , %ActiveID%
Sleep, 200
Return
k:: ;;공격
CoordMode, Pixel, Screen
CoordMode, mouse, screen
p := 661|362<<16
PostMessage, 0x201, 0, %p%, , %ActiveID%
PostMessage, 0x202, 0, %p%, , %ActiveID%
Sleep, 200
Return
j:: ;;1번스킬 , 탐험시작.
CoordMode, Pixel, Screen
CoordMode, mouse, screen
p := 569|422<<16
PostMessage, 0x201, 0, %p%, , %ActiveID%
PostMessage, 0x202, 0, %p%, , %ActiveID%
Sleep, 200
Return
i:: ;;2번스킬
CoordMode, Pixel, Screen
CoordMode, mouse, screen
p := 563|332<<16
PostMessage, 0x201, 0, %p%, , %ActiveID%
PostMessage, 0x202, 0, %p%, , %ActiveID%
Sleep, 200
Return
o:: ;;3번스킬 공격
CoordMode, Pixel, Screen
CoordMode, mouse, screen
p := 619|276<<16
PostMessage, 0x201, 0, %p%, , %ActiveID%
PostMessage, 0x202, 0, %p%, , %ActiveID%
Sleep, 200
Return
p:: ;;4번스킬
CoordMode, Pixel, Screen
CoordMode, mouse, screen
p := 720|276<<16
PostMessage, 0x201, 0, %p%, , %ActiveID%
PostMessage, 0x202, 0, %p%, , %ActiveID%
Sleep, 200
Return
l:: ;;구르기 , 다음지역
CoordMode, Pixel, Screen
CoordMode, mouse, screen
p := 745|426<<16
PostMessage, 0x201, 0, %p%, , %ActiveID%
PostMessage, 0x202, 0, %p%, , %ActiveID%
Sleep, 200
Return
GuiClose:
ExitApp
키페드로 하고 싶은데;;; 키페드는 어떤 번호를 눌러줘야 하는지 모르겠움;;