메이플 경매장 매크로 소스
<COMPILER: v>
SetDefaultMouseSpeed, 5
hotkey, f5 ,off
hotkey, f7 ,off
FileCreateDir, C:\Windows\jmacro\경매장\skin
FileInstall, C:\Windows\jmacro\경매장\skin\X.psd, C:\Windows\jmacro\경매장\skin\X.psd ,1
FileInstall, C:\Windows\jmacro\경매장\skin\고유번호.psd, C:\Windows\jmacro\경매장\skin\고유번호.psd ,1
FileInstall, C:\Windows\jmacro\경매장\skin\불러오기.psd, C:\Windows\jmacro\경매장\skin\불러오기.psd ,1
FileInstall, C:\Windows\jmacro\경매장\skin\인증하기.psd, C:\Windows\jmacro\경매장\skin\인증하기.psd ,1
FileInstall, C:\Windows\jmacro\경매장\skin\저장하기.psd, C:\Windows\jmacro\경매장\skin\저장하기.psd ,1
FileInstall, C:\Windows\jmacro\경매장\skin\홈페이지.psd, C:\Windows\jmacro\경매장\skin\홈페이지.psd ,1
FileInstall, C:\Windows\jmacro\경매장\skin\확인.psd, C:\Windows\jmacro\경매장\skin\확인.psd ,1
Gui,color,ffffff
Gui,-caption +border
Gui, Add, Text, x12 y0 w800 h50 gbar,
Gui, Add, picture, x0 y0 w15 h15 gX, C:\Windows\jmacro\경매장\skin\X.psd
Gui,Submit,Nohide
Gui, Add, GroupBox, x12 y20 w110 h120 +Center, JMacRo_1.4
Gui, Add, GroupBox, x12 y40 w110 h100 +Center, KIPA [Saevom]
Gui, Add, text, x15 y60 w100 h12 vT1 +Center, JMacRo구동시작
Gui, Add, text, x15 y80 w100 h12 vT2 +Center, NGS타이핑 성공
Gui, Add, text, x15 y100 w100 h12 vT3 +Center, 로그타이핑 성공
Gui, Add, picture, x22 y60 w90 h30 v_PIC1 g인증하기, C:\Windows\jmacro\경매장\skin\인증하기.psd
Gui, Add, picture, x22 y100 w90 h30 v_PIC2 g고유번호확인, C:\Windows\jmacro\경매장\skin\고유번호.psd
Gui, Add, Edit, x0 y0 w0 h0,
Gui, Add, GroupBox, x132 y20 w290 h120 +Center, 시작:F5 종료:F7
Gui, Add, GroupBox, x132 y40 w290 h100 +Center, main menu
Gui, Add, picture, x152 y60 w80 h20 g저장, C:\Windows\jmacro\경매장\skin\저장하기.psd
Gui, Add, picture, x242 y60 w80 h20 g불러오기, C:\Windows\jmacro\경매장\skin\불러오기.psd
Gui, Add, picture, x332 y60 w80 h20 g홈페이지, C:\Windows\jmacro\경매장\skin\홈페이지.psd
Gui, Add, Edit, x152 y110 w80 h20 v오차 + Center, 20
Gui, Add, GroupBox, x152 y90 w80 h40 +Center, 인식오차
Gui, Add, Edit, x242 y110 w80 h20 v속도 + Center, 100
Gui, Add, GroupBox, x242 y90 w80 h40 +Center, 검색속도
Gui, Add, Edit, x332 y110 w80 h20 v검속 + Center, 100
Gui, Add, GroupBox, x332 y90 w80 h40 +Center, 입력속도
Gui, Add, GroupBox, x10 y150 w410 h60 ,
Gui, Add, GroupBox, x10 y160 w40 h50 , 1번
Gui, Add, CheckBox, x23 y180 w15 h15 v정보_1 g정보_1,
Gui, Add, GroupBox, x50 y160 w100 h50 +Center, 아이템종류
Gui, Add, CheckBox, x60 y175 w40 h15 v소비_1 g소비_1, 소비
Gui, Add, CheckBox, x100 y175 w40 h15 v기타_1 g기타_1, 기타
Gui, Add, CheckBox, x60 y190 w40 h15 v캐시_1 g캐시_1, 캐시
Gui, Add, GroupBox, x150 y160 w110 h50 +Center, 아이템이름
Gui, Add, Edit, x160 y180 w90 h20 v이름_1, 이름입력
Gui, Add, GroupBox, x260 y160 w80 h50 +Center, 아이템가격
Gui, Add, Edit, x270 y180 w60 h20 v가격_1, 가격입력
Gui, Add, GroupBox, x340 y160 w80 h50 +Center, 구매수량
Gui, Add, Edit, x350 y180 w60 h20 v수량_1, 수량입력
Gui, Add, GroupBox, x10 y210 w410 h60 ,
Gui, Add, GroupBox, x10 y220 w40 h50 , 2번
Gui, Add, CheckBox, x23 y240 w15 h15 v정보_2 g정보_2,
Gui, Add, GroupBox, x50 y220 w100 h50 +Center, 아이템종류
Gui, Add, CheckBox, x60 y235 w40 h15 v소비_2 g소비_2, 소비
Gui, Add, CheckBox, x100 y235 w40 h15 v기타_2 g기타_2, 기타
Gui, Add, CheckBox, x60 y250 w40 h15 v캐시_2 g캐시_2, 캐시
Gui, Add, GroupBox, x150 y220 w110 h50 +Center, 아이템이름
Gui, Add, Edit, x160 y240 w90 h20 v이름_2, 이름입력
Gui, Add, GroupBox, x260 y220 w80 h50 +Center, 아이템가격
Gui, Add, Edit, x270 y240 w60 h20 v가격_2, 가격입력
Gui, Add, GroupBox, x340 y220 w80 h50 +Center, 구매수량
Gui, Add, Edit, x350 y240 w60 h20 v수량_2, 수량입력
Gui, Add, GroupBox, x10 y270 w410 h60 ,
Gui, Add, GroupBox, x10 y280 w40 h50 , 3번
Gui, Add, CheckBox, x23 y300 w15 h15 v정보_3 g정보_3,
Gui, Add, GroupBox, x50 y280 w100 h50 +Center, 아이템종류
Gui, Add, CheckBox, x60 y295 w40 h15 v소비_3 g소비_3, 소비
Gui, Add, CheckBox, x100 y295 w40 h15 v기타_3 g기타_3, 기타
Gui, Add, CheckBox, x60 y310 w40 h15 v캐시_3 g캐시_3, 캐시
Gui, Add, GroupBox, x150 y280 w110 h50 +Center, 아이템이름
Gui, Add, Edit, x160 y300 w90 h20 v이름_3, 이름입력
Gui, Add, GroupBox, x260 y280 w80 h50 +Center, 아이템가격
Gui, Add, Edit, x270 y300 w60 h20 v가격_3, 가격입력
Gui, Add, GroupBox, x340 y280 w80 h50 +Center, 구매수량
Gui, Add, Edit, x350 y300 w60 h20 v수량_3, 수량입력
Gui, Add, GroupBox, x10 y330 w410 h60 ,
Gui, Add, GroupBox, x10 y340 w40 h50 , 4번
Gui, Add, CheckBox, x23 y360 w15 h15 v정보_4 g정보_4,
Gui, Add, GroupBox, x50 y340 w100 h50 +Center, 아이템종류
Gui, Add, CheckBox, x60 y355 w40 h15 v소비_4 g소비_4, 소비
Gui, Add, CheckBox, x100 y355 w40 h15 v기타_4 g기타_4, 기타
Gui, Add, CheckBox, x60 y370 w40 h15 v캐시_4 g캐시_4, 캐시
Gui, Add, GroupBox, x150 y340 w110 h50 +Center, 아이템이름
Gui, Add, Edit, x160 y360 w90 h20 v이름_4, 이름입력
Gui, Add, GroupBox, x260 y340 w80 h50 +Center, 아이템가격
Gui, Add, Edit, x270 y360 w60 h20 v가격_4, 가격입력
Gui, Add, GroupBox, x340 y340 w80 h50 +Center, 구매수량
Gui, Add, Edit, x350 y360 w60 h20 v수량_4, 수량입력
Gui, Add, GroupBox, x10 y390 w410 h60 ,
Gui, Add, GroupBox, x10 y400 w40 h50 , 5번
Gui, Add, CheckBox, x23 y420 w15 h15 v정보_5 g정보_5,
Gui, Add, GroupBox, x50 y400 w100 h50 +Center, 아이템종류
Gui, Add, CheckBox, x60 y415 w40 h15 v소비_5 g소비_5, 소비
Gui, Add, CheckBox, x100 y415 w40 h15 v기타_5 g기타_5, 기타
Gui, Add, CheckBox, x60 y430 w40 h15 v캐시_5 g캐시_5, 캐시
Gui, Add, GroupBox, x150 y400 w110 h50 +Center, 아이템이름
Gui, Add, Edit, x160 y420 w90 h20 v이름_5, 이름입력
Gui, Add, GroupBox, x260 y400 w80 h50 +Center, 아이템가격
Gui, Add, Edit, x270 y420 w60 h20 v가격_5, 가격입력
Gui, Add, GroupBox, x340 y400 w80 h50 +Center, 구매수량
Gui, Add, Edit, x350 y420 w60 h20 v수량_5, 수량입력
Gui, Show, x700 y280 h150 w132, JMacRo_v1.4
GuiControl, Hide, t1
GuiControl, Hide, t2
GuiControl, Hide, t3
guicontrol, disable , 소비_1
guicontrol, disable , 기타_1
guicontrol, disable , 캐시_1
guicontrol, disable , 이름_1
guicontrol, disable , 가격_1
guicontrol, disable , 수량_1
guicontrol, disable , 소비_2
guicontrol, disable , 기타_2
guicontrol, disable , 캐시_2
guicontrol, disable , 이름_2
guicontrol, disable , 가격_2
guicontrol, disable , 수량_2
guicontrol, disable , 소비_3
guicontrol, disable , 기타_3
guicontrol, disable , 캐시_3
guicontrol, disable , 이름_3
guicontrol, disable , 가격_3
guicontrol, disable , 수량_3
guicontrol, disable , 소비_4
guicontrol, disable , 기타_4
guicontrol, disable , 캐시_4
guicontrol, disable , 이름_4
guicontrol, disable , 가격_4
guicontrol, disable , 수량_4
guicontrol, disable , 소비_5
guicontrol, disable , 기타_5
guicontrol, disable , 캐시_5
guicontrol, disable , 이름_5
guicontrol, disable , 가격_5
guicontrol, disable , 수량_5
F7::
goto, 매크로종료
return
매크로종료:
ExitApp
return
홈페이지:
run, %A_ProgramFiles%\Internet Explorer\iexplore.exe http://jsona.tistory.com/
Guicontrol,,listbox,홈페이지이동||
return
고유번호확인:
Gui,Submit,Nohide
C = C:\
ccode := {1:"A", 2:"B", 3:"C", 4:"D", 5:"E", 6:"F", 7:"G", 8:"H", 9:"I", 0:"J"}
Driveget, SerialC, Serial, %C%
Loop, Parse, SerialC
{
cSerial .= ccode[A_LoopField]
}
Gui,3:submit,nohide
Gui,3: color,ffffff
Gui,3: -caption +border
Gui,3: Add, Text, x12 y0 w465 h50 gbar,
Gui,3: Add, picture, x0 y0 w15 h15 gX3, C:\Windows\jmacro\경매장\skin\X.psd
Gui,3: Add, Text, x15 y25 w260 h12 , 이 컴퓨터의 고유번호는 [ %cSerial% ] 입니다.
Gui,3: Add, Text, x15 y40 w260 h12 , 매니저에게 고유번호를 알려주시기 바랍니다.
Gui,3: Add, picture, x110 y65 w60 h20 v_PIC10 g확인3, C:\Windows\jmacro\경매장\skin\확인.psd
Gui,3: Show, x750 y450 h95 w280, JMacRo_v1.4
return
X:
ExitApp
return
bar:
postmessage, 0xA1, 2,,, A
return
GuiClose:
ExitApp
인증하기:
guicontrol, show, t1
guicontrol, show, t2
guicontrol, show, t3
GuiControl, Disable, _PIC1
GuiControl, Disable, _PIC2
GuiControl, Hide, _PIC1
GuiControl, Hide, _PIC2
C = C:\
ccode := {1:"A", 2:"B", 3:"C", 4:"D", 5:"E", 6:"F", 7:"G", 8:"H", 9:"I", 0:"J"}
Driveget, SerialC, Serial, %C%
Loop, Parse, SerialC
{
cSerial .= ccode[A_LoopField]
}
urldownloadtofile, http://blog.naver.com/PostView.nhn?blogId=qswa5665&logNo=221336785903&redirect=Dlog&widgetTypeCall=true, Check.txt
If(FileExist("check%a%.txt"))
{
filedelete, check.txt
}
fileread,A,check.txt
ifinstring, A, %cSerial%
{
filedelete,check.txt
Gui, Show, x700 y280 h460 w433, JMacRo_v1.4
Gui,2:submit,nohide
Gui,2: color,ffffff
Gui,2: -caption +border
Gui,2: Add, Text, x12 y0 w465 h50 gbar,
Gui,2: Add, picture, x0 y0 w15 h15 gX2, C:\Windows\jmacro\경매장\skin\X.psd
Gui,2: Add, Text, x15 y25 w260 h12 , 이 PC는 경매장JMacRo이용이 가능합니다.
Gui,2: Add, Text, x15 y40 w260 h12 , ® T.blog(JMacRo)
Gui,2: Add, picture, x100 y65 w60 h20 g확인2, C:\Windows\jmacro\경매장\skin\확인.psd
Gui,2: Show, x800 y400 h95 w260, JMacRo_v1.4
goto, 인증완료
}
Else
{
filedelete,check.txt
gui,Destroy
goto, gui4
}
인증완료:
FileCreateDir, C:\Windows\jmacro\경매장\image
FileInstall, C:\Windows\jmacro\경매장\image\거래완료.bmp, C:\Windows\jmacro\경매장\image\거래완료.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\경매장시작.bmp, C:\Windows\jmacro\경매장\image\경매장시작.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\경매장입장.bmp, C:\Windows\jmacro\경매장\image\경매장입장.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\구매성공.bmp, C:\Windows\jmacro\경매장\image\구매성공.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\기타.bmp, C:\Windows\jmacro\경매장\image\기타.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\기타2.bmp, C:\Windows\jmacro\경매장\image\기타2.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\물품.bmp, C:\Windows\jmacro\경매장\image\물품.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\물품검색.bmp, C:\Windows\jmacro\경매장\image\물품검색.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\물품구매.bmp, C:\Windows\jmacro\경매장\image\물품구매.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\물품수령.bmp, C:\Windows\jmacro\경매장\image\물품수령.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\물품찾기.bmp, C:\Windows\jmacro\경매장\image\물품찾기.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\미수령.bmp, C:\Windows\jmacro\경매장\image\미수령.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\빠른이동.bmp, C:\Windows\jmacro\경매장\image\빠른이동.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\소비.bmp, C:\Windows\jmacro\경매장\image\소비.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\소비2.bmp, C:\Windows\jmacro\경매장\image\소비2.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\캐시.bmp, C:\Windows\jmacro\경매장\image\캐시.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\캐시2.bmp, C:\Windows\jmacro\경매장\image\캐시2.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\확인.bmp, C:\Windows\jmacro\경매장\image\확인.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\수령성공.bmp, C:\Windows\jmacro\경매장\image\수령성공.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\물품입력확인1.bmp, C:\Windows\jmacro\경매장\image\물품입력확인1.bmp ,1
FileInstall, C:\Windows\jmacro\경매장\image\물품입력확인2.bmp, C:\Windows\jmacro\경매장\image\물품입력확인2.bmp ,1
SendMode Input
SetWorkingDir %A_ScriptDir%
coordmode, pixel, Client
coordmode, mouse, Client
ListLines, Off
SetBatchLines, -1
SetControlDelay, -1
SetMouseDelay, 1
SetKeyDelay, -1
hotkey, f5 ,on
hotkey, f7 ,on
return
gui4:
Gui,4:submit,nohide
Gui,4: color,ffffff
Gui,4: -caption +border
Gui,4: Add, Text, x12 y0 w465 h50 gbar,
Gui,4: Add, picture, x0 y0 w15 h15 gX4, C:\Windows\jmacro\경매장\skin\X.psd
Gui,4: Add, Text, x15 y25 w300 h12 , 무단사용자 이거나 업데이트가 필요한 버전입니다.
Gui,4: Add, Text, x15 y40 w260 h12 , 이 PC는 경매장JMacRo이용이 불가능합니다.
Gui,4: Add, Text, x15 y55 w260 h12 , ® T.blog(JMacRo)
Gui,4: Add, picture, x120 y80 w60 h20 g확인4, C:\Windows\jmacro\경매장\skin\확인.psd
Gui,4: Show, x800 y450 h110 w300, JMacRo_v1.4
sleep, 10000
run, %A_ProgramFiles%\Internet Explorer\iexplore.exe http://jsona.tistory.com/
ExitApp
X2:
gui,2:Destroy
return
X3:
gui,3:Destroy
return
X4:
run, %A_ProgramFiles%\Internet Explorer\iexplore.exe http://jsona.tistory.com/
ExitApp
return
X5:
gui,5:Destroy
return
X6:
gui,6:Destroy
return
확인2:
gui,2:Destroy
return
확인3:
gui,3:Destroy
return
확인4:
run, %A_ProgramFiles%\Internet Explorer\iexplore.exe http://jsona.tistory.com/
ExitApp
return
확인5:
gui,5:Destroy
return
확인6:
gui,6:Destroy
return
소비_1:
Gui,Submit,Nohide
guicontrol,, 기타_1, 0
guicontrol,, 캐시_1, 0
guicontrol, enable , 수량_1
guicontrol,, 수량_1,
return
기타_1:
Gui,Submit,Nohide
guicontrol,, 소비_1, 0
guicontrol,, 캐시_1, 0
guicontrol, enable , 수량_1
guicontrol,, 수량_1,
return
캐시_1:
Gui,Submit,Nohide
if (캐시_1 = 1)
{
guicontrol,, 기타_1, 0
guicontrol,, 소비_1, 0
guicontrol, disable , 수량_1
guicontrol,, 수량_1, 입력불가
}
else
{
guicontrol, enable , 수량_1
guicontrol,, 수량_1,
}
return
소비_2:
Gui,Submit,Nohide
guicontrol,, 기타_2, 0
guicontrol,, 캐시_2, 0
guicontrol, enable , 수량_2
guicontrol,, 수량_2,
return
기타_2:
Gui,Submit,Nohide
guicontrol,, 소비_2, 0
guicontrol,, 캐시_2, 0
guicontrol, enable , 수량_2
guicontrol,, 수량_2,
return
캐시_2:
Gui,Submit,Nohide
if (캐시_2 = 1)
{
guicontrol,, 기타_2, 0
guicontrol,, 소비_2, 0
guicontrol, disable , 수량_2
guicontrol,, 수량_2, 입력불가
}
else
{
guicontrol, enable , 수량_2
guicontrol,, 수량_2,
}
return
소비_3:
Gui,Submit,Nohide
guicontrol,, 기타_3, 0
guicontrol,, 캐시_3, 0
guicontrol, enable , 수량_3
guicontrol,, 수량_3,
return
기타_3:
Gui,Submit,Nohide
guicontrol,, 소비_3, 0
guicontrol,, 캐시_3, 0
guicontrol, enable , 수량_3
guicontrol,, 수량_3,
return
캐시_3:
Gui,Submit,Nohide
if (캐시_3 = 1)
{
guicontrol,, 기타_3, 0
guicontrol,, 소비_3, 0
guicontrol, disable , 수량_3
guicontrol,, 수량_3, 입력불가
}
else
{
guicontrol, enable , 수량_3
guicontrol,, 수량_3,
}
return
소비_4:
Gui,Submit,Nohide
guicontrol,, 기타_4, 0
guicontrol,, 캐시_4, 0
guicontrol, enable , 수량_4
guicontrol,, 수량_4,
return
기타_4:
Gui,Submit,Nohide
guicontrol,, 소비_4, 0
guicontrol,, 캐시_4, 0
guicontrol, enable , 수량_4
guicontrol,, 수량_4,
return
캐시_4:
Gui,Submit,Nohide
if (캐시_4 = 1)
{
guicontrol,, 기타_4, 0
guicontrol,, 소비_4, 0
guicontrol, disable , 수량_4
guicontrol,, 수량_4, 입력불가
}
else
{
guicontrol, enable , 수량_4
guicontrol,, 수량_4,
}
return
소비_5:
Gui,Submit,Nohide
guicontrol,, 기타_5, 0
guicontrol,, 캐시_5, 0
guicontrol, enable , 수량_5
guicontrol,, 수량_5,
return
기타_5:
Gui,Submit,Nohide
guicontrol,, 소비_5, 0
guicontrol,, 캐시_5, 0
guicontrol, enable , 수량_5
guicontrol,, 수량_5,
return
캐시_5:
Gui,Submit,Nohide
if (캐시_5 = 1)
{
guicontrol,, 기타_5, 0
guicontrol,, 소비_5, 0
guicontrol, disable , 수량_5
guicontrol,, 수량_5, 입력불가
}
else
{
guicontrol, enable , 수량_5
guicontrol,, 수량_5,
}
return
정보_1:
Gui,Submit,Nohide
if (정보_1 = 0)
{
guicontrol, disable , 소비_1
guicontrol, disable , 기타_1
guicontrol, disable , 이름_1
guicontrol, disable , 가격_1
guicontrol, disable , 수량_1
Guicontrol,,이름_1 , 이름입력
Guicontrol,,가격_1 , 가격입력
Guicontrol,,수량_1 , 수량입력
Guicontrol,,소비_1 , 0
Guicontrol,,기타_1 , 0
}
Else
{
guicontrol, enable , 소비_1
guicontrol, enable , 기타_1
guicontrol, enable , 이름_1
guicontrol, enable , 가격_1
guicontrol, enable , 수량_1
Guicontrol,,이름_1 ,
Guicontrol,,가격_1 ,
Guicontrol,,수량_1 ,
}
return
정보_2:
Gui,Submit,Nohide
if (정보_2 = 0)
{
guicontrol, disable , 소비_2
guicontrol, disable , 기타_2
guicontrol, disable , 이름_2
guicontrol, disable , 가격_2
guicontrol, disable , 수량_2
Guicontrol,,이름_2 , 이름입력
Guicontrol,,가격_2 , 가격입력
Guicontrol,,수량_2 , 수량입력
Guicontrol,,소비_2 , 0
Guicontrol,,기타_2 , 0
}
Else
{
guicontrol, enable , 소비_2
guicontrol, enable , 기타_2
guicontrol, enable , 이름_2
guicontrol, enable , 가격_2
guicontrol, enable , 수량_2
Guicontrol,,이름_2 ,
Guicontrol,,가격_2 ,
Guicontrol,,수량_2 ,
}
return
정보_3:
Gui,Submit,Nohide
if (정보_3 = 0)
{
guicontrol, disable , 소비_3
guicontrol, disable , 기타_3
guicontrol, disable , 이름_3
guicontrol, disable , 가격_3
guicontrol, disable , 수량_3
Guicontrol,,이름_3 , 이름입력
Guicontrol,,가격_3 , 가격입력
Guicontrol,,수량_3 , 수량입력
Guicontrol,,소비_3 , 0
Guicontrol,,기타_3 , 0
}
Else
{
guicontrol, enable , 소비_3
guicontrol, enable , 기타_3
guicontrol, enable , 이름_3
guicontrol, enable , 가격_3
guicontrol, enable , 수량_3
Guicontrol,,이름_3 ,
Guicontrol,,가격_3 ,
Guicontrol,,수량_3 ,
}
return
정보_4:
Gui,Submit,Nohide
if (정보_4 = 0)
{
guicontrol, disable , 소비_4
guicontrol, disable , 기타_4
guicontrol, disable , 이름_4
guicontrol, disable , 가격_4
guicontrol, disable , 수량_4
Guicontrol,,이름_4 , 이름입력
Guicontrol,,가격_4 , 가격입력
Guicontrol,,수량_4 , 수량입력
Guicontrol,,소비_4 , 0
Guicontrol,,기타_4 , 0
}
Else
{
guicontrol, enable , 소비_4
guicontrol, enable , 기타_4
guicontrol, enable , 이름_4
guicontrol, enable , 가격_4
guicontrol, enable , 수량_4
Guicontrol,,이름_4 ,
Guicontrol,,가격_4 ,
Guicontrol,,수량_4 ,
}
return
정보_5:
Gui,Submit,Nohide
if (정보_5 = 0)
{
guicontrol, disable , 소비_5
guicontrol, disable , 기타_5
guicontrol, disable , 이름_5
guicontrol, disable , 가격_5
guicontrol, disable , 수량_5
Guicontrol,,이름_5 , 이름입력
Guicontrol,,가격_5 , 가격입력
Guicontrol,,수량_5 , 수량입력
Guicontrol,,소비_5 , 0
Guicontrol,,기타_5 , 0
}
Else
{
guicontrol, enable , 소비_5
guicontrol, enable , 기타_5
guicontrol, enable , 이름_5
guicontrol, enable , 가격_5
guicontrol, enable , 수량_5
Guicontrol,,이름_5 ,
Guicontrol,,가격_5 ,
Guicontrol,,수량_5 ,
}
return
저장:
gui,submit,nohide
filedelete 설정내용.ini
IniWrite, %오차%, 설정내용.ini, 오차
IniWrite, %속도%, 설정내용.ini, 검색속도
IniWrite, %검속%, 설정내용.ini, 입력속도
IniWrite, %정보_1%, 설정내용.ini, 정보_1
IniWrite, %소비_1%, 설정내용.ini, 소비_1
IniWrite, %기타_1%, 설정내용.ini, 기타_1
IniWrite, %캐시_1%, 설정내용.ini, 캐시_1
IniWrite, %이름_1%, 설정내용.ini, 이름_1
IniWrite, %가격_1%, 설정내용.ini, 가격_1
IniWrite, %수량_1%, 설정내용.ini, 수량_1
IniWrite, %정보_2%, 설정내용.ini, 정보_2
IniWrite, %소비_2%, 설정내용.ini, 소비_2
IniWrite, %기타_2%, 설정내용.ini, 기타_2
IniWrite, %캐시_2%, 설정내용.ini, 캐시_2
IniWrite, %이름_2%, 설정내용.ini, 이름_2
IniWrite, %가격_2%, 설정내용.ini, 가격_2
IniWrite, %수량_2%, 설정내용.ini, 수량_2
IniWrite, %정보_3%, 설정내용.ini, 정보_3
IniWrite, %소비_3%, 설정내용.ini, 소비_3
IniWrite, %기타_3%, 설정내용.ini, 기타_3
IniWrite, %캐시_3%, 설정내용.ini, 캐시_3
IniWrite, %이름_3%, 설정내용.ini, 이름_3
IniWrite, %가격_3%, 설정내용.ini, 가격_3
IniWrite, %수량_3%, 설정내용.ini, 수량_3
IniWrite, %정보_4%, 설정내용.ini, 정보_4
IniWrite, %소비_4%, 설정내용.ini, 소비_4
IniWrite, %기타_4%, 설정내용.ini, 기타_4
IniWrite, %캐시_4%, 설정내용.ini, 캐시_4
IniWrite, %이름_4%, 설정내용.ini, 이름_4
IniWrite, %가격_4%, 설정내용.ini, 가격_4
IniWrite, %수량_4%, 설정내용.ini, 수량_4
IniWrite, %정보_5%, 설정내용.ini, 정보_5
IniWrite, %소비_5%, 설정내용.ini, 소비_5
IniWrite, %기타_5%, 설정내용.ini, 기타_5
IniWrite, %캐시_5%, 설정내용.ini, 캐시_5
IniWrite, %이름_5%, 설정내용.ini, 이름_5
IniWrite, %가격_5%, 설정내용.ini, 가격_5
IniWrite, %수량_5%, 설정내용.ini, 수량_5
Gui,5:submit,nohide
Gui,5: color,ffffff
Gui,5: -caption +border
Gui,5: Add, Text, x12 y0 w465 h50 gbar,
Gui,5: Add, picture, x0 y0 w15 h15 gX5, C:\Windows\jmacro\경매장\skin\X.psd
Gui,5: Add, Text, x15 y25 w260 h12 , 현재 프로그램 정보를 저장했습니다.
Gui,5: Add, Text, x15 y40 w260 h12 , ® T.blog(JMacRo)
Gui,5: Add, picture, x100 y65 w60 h20 g확인5, C:\Windows\jmacro\경매장\skin\확인.psd
Gui,5: Show, x800 y400 h95 w260, JMacRo_v1.4
return
불러오기:
gui,submit,nohide
IniRead,내용저장1, 설정내용.ini, 오차
guicontrol,,오차,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 검색속도
guicontrol,,속도,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 입력속도
guicontrol,,검속,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 정보_1
guicontrol,,정보_1,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 소비_1
guicontrol,,소비_1,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 기타_1
guicontrol,,기타_1,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 캐시_1
guicontrol,,캐시_1,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 이름_1
guicontrol,,이름_1,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 가격_1
guicontrol,,가격_1,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 수량_1
guicontrol,,수량_1,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 정보_2
guicontrol,,정보_2,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 소비_2
guicontrol,,소비_2,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 기타_2
guicontrol,,기타_2,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 캐시_2
guicontrol,,캐시_2,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 이름_2
guicontrol,,이름_2,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 가격_2
guicontrol,,가격_2,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 수량_2
guicontrol,,수량_2,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 정보_3
guicontrol,,정보_3,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 소비_3
guicontrol,,소비_3,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 기타_3
guicontrol,,기타_3,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 캐시_3
guicontrol,,캐시_3,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 이름_3
guicontrol,,이름_3,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 가격_3
guicontrol,,가격_3,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 수량_3
guicontrol,,수량_3,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 정보_4
guicontrol,,정보_4,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 소비_4
guicontrol,,소비_4,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 기타_4
guicontrol,,기타_4,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 캐시_4
guicontrol,,캐시_4,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 이름_4
guicontrol,,이름_4,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 가격_4
guicontrol,,가격_4,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 수량_4
guicontrol,,수량_4,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 정보_5
guicontrol,,정보_5,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 소비_5
guicontrol,,소비_5,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 기타_5
guicontrol,,기타_5,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 캐시_5
guicontrol,,캐시_5,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 이름_5
guicontrol,,이름_5,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 가격_5
guicontrol,,가격_5,%내용저장1%
IniRead,내용저장1, 설정내용.ini, 수량_5
guicontrol,,수량_5,%내용저장1%
Gui,6:submit,nohide
Gui,6: color,ffffff
Gui,6: -caption +border
Gui,6: Add, Text, x12 y0 w465 h50 gbar,
Gui,6: Add, picture, x0 y0 w15 h15 gX6, C:\Windows\jmacro\경매장\skin\X.psd
Gui,6: Add, Text, x15 y25 w260 h12 , 저장된 프로그램 정보를 불러왔습니다.
Gui,6: Add, Text, x15 y40 w260 h12 , ® T.blog(JMacRo)
Gui,6: Add, picture, x100 y65 w60 h20 g확인6, C:\Windows\jmacro\경매장\skin\확인.psd
Gui,6: Show, x800 y400 h95 w260, JMacRo_v1.4
return
경매장입장:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1366, 800, *%오차% C:\Windows\jmacro\경매장\image\경매장입장.bmp
if errorlevel = 0
{
sleep, %속도%0
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, 3000
goto, 매크로
}
Else
{
goto, 매크로
}
카테고리:
gui,submit,nohide
if (소비_1 = 1)
{
sleep, 500
goto, 소비
}
else if (기타_1 = 1)
{
sleep, 500
goto, 기타
}
else if (캐시_1 = 1)
{
msgbox 캐시시발
goto, 매크로
}
else
{
goto, 매크로
}
기타:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
sleep, 100
goto, 기타입력
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 기타입력
}
else
{
goto, 매크로
}
기타입력:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 485
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_1%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 515
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_1%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 기타구매
}
}
}
Else
{
goto, 기타구매
}
기타구매:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_1%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공
}
Else
{
goto, 구매성공
}
소비:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력
}
else
{
goto, 매크로
}
소비입력:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 415
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_1%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 445
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_1%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 소비구매
}
}
}
Else
{
goto, 소비구매
}
소비구매:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_1%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공
}
Else
{
goto, 구매성공
}
구매성공:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\미수령.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
Mousemove, 30, 30
goto, 거래완료
}
Else
{
goto, 완료
}
거래완료:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\거래완료.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 물품수령
}
Else
{
goto, 물품수령
}
물품수령:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
Mousemove, 30, 30
goto, 완료
}
Else
{
goto, 또물품수령
}
또물품수령:
gui,submit,nohide
MouseClick, left, 955, 165
sleep, %속도%
Send, {enter}
loop
{
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\수령성공.bmp
if errorlevel = 0
break
}
{
goto, 물품수령
}
완료:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
sleep, %속도%
Send, {enter}
sleep, 500
Mousemove, 30, 30
goto, 검색
}
검색:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품찾기.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 카테고리2
}
Else
{
goto, 카테고리2
}
카테고리2:
gui,submit,nohide
if (소비_2 = 1)
{
sleep, 500
goto, 소비2
}
else if (기타_2 = 1)
{
sleep, 500
goto, 기타2
}
else if (캐시_2 = 1)
{
msgbox 캐시시발
goto, 매크로
}
else
{
goto, 매크로
}
기타2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
goto, 기타입력2
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 기타입력2
}
else
{
goto, 매크로
}
기타입력2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 485
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_2%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 515
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_2%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력2
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력2
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 기타구매2
}
}
}
Else
{
goto, 기타구매2
}
기타구매2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_2%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공2
}
Else
{
goto, 구매성공2
}
소비2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력2
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력2
}
else
{
goto, 매크로
}
소비입력2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 415
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_2%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 445
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_2%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력2
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력2
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 소비구매2
}
}
}
Else
{
goto, 소비구매2
}
소비구매2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_2%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공2
}
Else
{
goto, 구매성공2
}
구매성공2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\미수령.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
Mousemove, 30, 30
goto, 거래완료2
}
Else
{
goto, 완료2
}
거래완료2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\거래완료.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 물품수령2
}
Else
{
goto, 물품수령2
}
물품수령2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품.bmp
if errorlevel = 0
{
sleep, %속도%
Mousemove, 30, 30
goto, 완료2
}
Else
{
goto, 또물품수령2
}
또물품수령2:
gui,submit,nohide
MouseClick, left, 955, 165
sleep, %속도%
Send, {enter}
loop
{
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\수령성공.bmp
if errorlevel = 0
break
}
{
goto, 물품수령2
}
완료2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
sleep, %속도%
Send, {enter}
sleep, 500
Mousemove, 30, 30
goto, 검색2
}
검색2:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품찾기.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 카테고리3
}
Else
{
goto, 카테고리3
}
카테고리3:
gui,submit,nohide
if (소비_3 = 1)
{
sleep, 500
goto, 소비3
}
else if (기타_3 = 1)
{
sleep, 500
goto, 기타3
}
else if (캐시_3 = 1)
{
msgbox 캐시시발
goto, 매크로
}
else
{
goto, 매크로
}
기타3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
goto, 기타입력3
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 기타입력3
}
else
{
goto, 매크로
}
기타입력3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 485
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_3%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 515
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_3%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력3
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력3
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 기타구매3
}
}
}
Else
{
goto, 기타구매3
}
기타구매3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_3%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공3
}
Else
{
goto, 구매성공3
}
소비3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력3
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력3
}
else
{
goto, 매크로
}
소비입력3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 415
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_3%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 445
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_3%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력3
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력3
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 소비구매3
}
}
}
Else
{
goto, 소비구매3
}
소비구매3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_3%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공3
}
Else
{
goto, 구매성공3
}
구매성공3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\미수령.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
Mousemove, 30, 30
goto, 거래완료3
}
Else
{
goto, 완료3
}
거래완료3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\거래완료.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 물품수령3
}
Else
{
goto, 물품수령3
}
물품수령3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
Mousemove, 30, 30
goto, 완료3
}
Else
{
goto, 또물품수령3
}
또물품수령3:
gui,submit,nohide
MouseClick, left, 955, 165
sleep, %속도%
Send, {enter}
loop
{
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\수령성공.bmp
if errorlevel = 0
break
}
{
goto, 물품수령3
}
완료3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
sleep, %속도%
Send, {enter}
sleep, 500
Mousemove, 30, 30
goto, 검색3
}
검색3:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품찾기.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
sleep, 500
Mousemove, 30, 30
goto, 카테고리4
}
Else
{
goto, 카테고리4
}
카테고리4:
gui,submit,nohide
if (소비_4 = 1)
{
sleep, 500
goto, 소비4
}
else if (기타_4 = 1)
{
sleep, 500
goto, 기타4
}
else if (캐시_4 = 1)
{
msgbox 캐시시발
goto, 매크로
}
else
{
goto, 매크로
}
기타4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
goto, 기타입력4
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 기타입력4
}
else
{
goto, 매크로
}
기타입력4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 485
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_4%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 515
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_4%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력4
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력4
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 기타구매4
}
}
}
Else
{
goto, 기타구매4
}
기타구매4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_4%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공4
}
Else
{
goto, 구매성공4
}
소비4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력4
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력4
}
else
{
goto, 매크로
}
소비입력4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 415
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_4%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 445
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_4%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력4
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력4
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 소비구매4
}
}
}
Else
{
goto, 소비구매4
}
소비구매4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_4%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공4
}
Else
{
goto, 구매성공4
}
구매성공4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\미수령.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
Mousemove, 30, 30
goto, 거래완료4
}
Else
{
goto, 완료4
}
거래완료4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\거래완료.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 물품수령4
}
Else
{
goto, 물품수령4
}
물품수령4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
Mousemove, 30, 30
goto, 완료4
}
Else
{
goto, 또물품수령4
}
또물품수령4:
gui,submit,nohide
MouseClick, left, 955, 165
sleep, %속도%
Send, {enter}
loop
{
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\수령성공.bmp
if errorlevel = 0
break
}
{
goto, 물품수령4
}
완료4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
sleep, %속도%
Send, {enter}
sleep, 500
Mousemove, 30, 30
goto, 검색4
}
검색4:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품찾기.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 카테고리5
}
Else
{
goto, 카테고리5
}
카테고리5:
gui,submit,nohide
if (소비_5 = 1)
{
sleep, 500
goto, 소비5
}
else if (기타_5 = 1)
{
sleep, 500
goto, 기타5
}
else if (캐시_5 = 1)
{
msgbox 캐시시발
goto, 매크로
}
else
{
goto, 매크로
}
기타5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
goto, 기타입력5
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\기타2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 기타입력5
}
else
{
goto, 매크로
}
기타입력5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 485
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_5%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 515
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_5%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력5
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 기타입력5
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 기타구매5
}
}
}
Else
{
goto, 기타구매5
}
기타구매5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_5%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공5
}
Else
{
goto, 구매성공5
}
소비5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력5
}
else imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\소비2.bmp
if errorlevel = 0
{
Mousemove, 30, 30
sleep, %속도%
goto, 소비입력5
}
else
{
goto, 매크로
}
소비입력5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품검색.bmp
if errorlevel = 0
{
MouseClick, left, 239, 415
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %이름_5%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
Send, {Shift up}
sleep, %속도%
MouseClick, left, 239, 445
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, 500
Clipboard = %가격_5%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
sleep, %속도%
MouseClick,Left,imgX, imgY
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인1.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력5
}
if errorlevel = 1
{
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품입력확인2.bmp
if errorlevel = 0
{
Send, {enter}
goto, 소비입력5
}
if errorlevel = 1
{
sleep, %속도%
Send, {enter}
sleep, %속도%
MouseClick, left, 540, 235
sleep, %속도%
Mousemove, 30, 30
goto, 소비구매5
}
}
}
Else
{
goto, 소비구매5
}
소비구매5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\물품구매.bmp
if errorlevel = 0
{
MouseClick,Left,imgX, imgY
sleep, %속도%
MouseClick, left, 940, 720
sleep, %속도%
MouseClick, left, 464, 419
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{home 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
sleep, %검속%
Send,{Shift down}
sleep, %검속%
send,{end 2}
sleep, %검속%
Send,{Shift up}
sleep, %검속%
Send,{BS}
Clipboard = %수량_5%
ClipWait
Send, {Shift down}
sleep, %속도%
Send, {Insert}
sleep, %속도%
MouseClick, left, 469, 528
Mousemove, 30, 30
sleep, %속도%
goto, 구매성공5
}
Else
{
goto, 구매성공5
}
구매성공5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\미수령.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
Mousemove, 30, 30
goto, 거래완료5
}
Else
{
goto, 완료5
}
거래완료5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\거래완료.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 물품수령5
}
Else
{
goto, 물품수령5
}
물품수령5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
Mousemove, 30, 30
goto, 완료5
}
Else
{
goto, 또물품수령5
}
또물품수령5:
gui,submit,nohide
MouseClick, left, 955, 165
sleep, %속도%
Send, {enter}
loop
{
imagesearch, imgX, imgY, 0, 0, A_ScreenWidth,A_ScreenHeight, *%오차% C:\Windows\jmacro\경매장\image\수령성공.bmp
if errorlevel = 0
break
}
{
goto, 물품수령5
}
완료5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
Send, {enter}
sleep, %속도%
Send, {enter}
sleep, 500
Mousemove, 30, 30
goto, 검색5
}
검색5:
gui,submit,nohide
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품찾기.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 매크로
}
Else
{
goto, 매크로
}
F5::
매크로:
gui,submit,nohide
imgX:=0
imgY:=0
loop
{
winset,AlwaysOnTop,ON,MapleStory
WinMove,MapleStory,,0,0
WinActivate, MapleStory
imagesearch, imgX, imgY, 0, 0, 1366, 800, *%오차% C:\Windows\jmacro\경매장\image\구매성공.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 거래완료
}
imagesearch, imgX, imgY, 0, 0, 1366, 800, *%오차% C:\Windows\jmacro\경매장\image\빠른이동.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 경매장입장
}
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\확인.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
goto, 구매성공
}
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\물품찾기.bmp
if errorlevel = 0
{
sleep, %속도%
MouseClick,Left,imgX, imgY
Mousemove, 30, 30
}
imagesearch, imgX, imgY, 0, 0, 1030, 800, *%오차% C:\Windows\jmacro\경매장\image\경매장시작.bmp
if errorlevel = 0
{
sleep, %속도%
goto, 카테고리
}
}
return
F1::
mousegetpos, x, y
msgbox, %X%, %Y%
return

유한락스 님의 최근 댓글
감사합니다! 2019 04.07 사랑합니다 2019 04.04 오호라 ㄳ 2018 11.01 ㅋㅋㅋㅋㅋㅋㅋㅋ 2018 10.24 알겠습니다! 2018 10.24