Etc

디아블로3 쥐몰이 키보드 무한 반복 매크로

Naan 2014. 3. 31. 14:23
반응형

요즘 디아블로3 핫 이슈인 쥐몰이 키보드 무한 반복 매크로 입니다.


매크로 프로그램을 사용해서 영정이나 불이익을 받을수 있습니다. 꼭 이점 유의하시고 사용하시기 바랍니다.


우선 프로그램을 다운 받습니다.

http://www.autohotkey.com/


32bit 던 64bit던 OS랑 무관하게 돌아가네요 아무 버전이나 받습니다.

압축을 풀면 파일 하나가 있습니다.

구동 합니다.


구동하면 위와 같이 sample script 생성 할꺼냐고 묻습니다. 예를 눌러 줍니다.


; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a

; semicolon, such as this one, are comments.  They are not executed.


; This script has a special filename and path because it is automatically

; launched when you run the program directly.  Also, any text file whose

; name ends in .ahk is associated with the program, which means that it

; can be launched simply by double-clicking it.  You can have as many .ahk

; files as you want, located in any folder.  You can also run more than

; one .ahk file simultaneously and each will get its own tray icon.


; SAMPLE HOTKEYS: Below are two sample hotkeys.  The first is Win+Z and it

; launches a web site in the default browser.  The second is Control+Alt+N

; and it launches a new Notepad window (or activates an existing one).  To

; try out these hotkeys, run AutoHotkey again, which will load this file.


#z::Run www.autohotkey.com


^!n::

IfWinExist Untitled - Notepad

WinActivate

else

Run Notepad

return



; Note: From now on whenever you run AutoHotkey directly, this script

; will be loaded.  So feel free to customize it to suit your needs.


; Please read the QUICK-START TUTORIAL near the top of the help file.

; It explains how to perform common automation tasks such as sending

; keystrokes and mouse clicks.  It also explains more about hotkeys.



sample 스크립을 수정합니다.
빨간색 부분을 아래와 같이 수정합니다.

F1::

binexit:=False

Loop 

{

send {2}

sleep, 10

if(binexit){

break

}

}

F2:: ExitApp

binexit:=true

return


F1을 누르면 매크로 시작, F2를 누르면 매크로 종료입니다.


send {2} 이부분이 키보드가 눌러지는 부분입니다.

send {1}

send {2}

send {3}

이렇게 수정하시면 키보드 1,2,3 눌러집니다.

sleep 명령은 딜레이 주는 명령 입니다. 


이것저것 응용해서 사용하시면 될듯 합니다.



반응형