Key Name |
Resulting Keystroke |
{F1} - {F24} |
Function keys. For 예제: {F12} is the F12 key. |
{!} |
! |
{#} |
# |
{+} |
+ |
{^} |
^ |
{{} |
{ |
{}} |
} |
{Enter} |
ENTER key on the main keyboard |
{Escape} or {Esc} |
ESCAPE |
{Space} |
SPACE (this is only needed for spaces that appear either at the beginning or the end of the string to be sent -- ones in the middle can be literal spaces) |
{Tab} |
TAB |
{Backspace} or {BS} |
Backspace |
{Delete} or {Del} |
Delete |
{Insert} or {Ins} |
Insert |
{Up} |
Up-arrow key on main keyboard |
{Down} |
Down-arrow down key on main keyboard |
{Left} |
Left-arrow key on main keyboard |
{Right} |
Right-arrow key on main keyboard |
{Home} |
Home key on main keyboard |
{End} |
End key on main keyboard |
{PgUp} |
Page-up key on main keyboard |
{PgDn} |
Page-down key on main keyboard |
|
|
{CapsLock} |
CapsLock (using SetCapsLockState is more reliable on NT/2k/XP) |
{ScrollLock} |
ScrollLock (see also: SetScrollLockState) |
{NumLock} |
NumLock (see also: SetNumLockState) |
|
|
{Control} or {Ctrl} |
CONTROL (technical info: sends the neutral virtual key but the left scan code) |
{LControl} or {LCtrl} |
Left CONTROL key (technical info: same as CONTROL for Win9x, but on NT/2k/XP it sends the left virtual key rather than the neutral one) |
{RControl} or {RCtrl} |
Right CONTROL key |
{Control Down} or {Ctrl Down} |
Holds the CONTROL key down until {Ctrl Up} is sent. XP/2000/NT: To hold down the left or right key instead, use {RCtrl Down} and {RCtrl Up}. |
|
|
{Alt} |
ALT (technical info: sends the neutral virtual key but the left scan code) |
{LAlt} |
Left ALT key (technical info: same as ALT for Win9x, but on NT/2k/XP it sends the left virtual key rather than the neutral one) |
{RAlt} |
Right ALT key (or AltGr, depending on keyboard layout) |
{Alt Down} |
Holds the ALT key down until {Alt Up} is sent. XP/2000/NT: To hold down the left or right key instead, use {RAlt Down} and {RAlt Up}. |
|
|
{Shift} |
SHIFT (technical info: sends the neutral virtual key but the left scan code) |
{LShift} |
Left SHIFT key (technical info: same as SHIFT for Win9x, but on NT/2k/XP it sends the left virtual key rather than the neutral one) |
{RShift} |
Right SHIFT key |
{Shift Down} |
Holds the SHIFT key down until {Shift Up} is sent. XP/2000/NT: To hold down the left or right key instead, use {RShift Down} and {RShift Up}. |
|
|
{LWin} |
Left Windows key |
{RWin} |
Right Windows key |
{LWin Down} |
Holds the left Windows key down until {LWin Up} is sent |
{RWin Down} |
Holds the right Windows key down until {RWin Up} is sent |
|
|
{AppsKey} |
Windows App key (invokes the right-click or context menu) |
{Sleep} |
Computer SLEEP key. |
{ASC nnnnn} |
Sends an ALT+nnnnn keypad combination, which can be used to generate special characters that don't exist on the keyboard. To generate ASCII characters, specify a number between 1 and 255. To generate ANSI characters (standard in most languages), specify a number between 128 and 255, but precede it with a leading zero, e.g. {Asc 0133}.
To generate Unicode characters, specify a number between 256 and 65535 (without a leading zero). However, this is not supported by all applications. Therefore, for greater compatibility and easier sending of long Unicode strings, use "Transform Unicode".
|
{vkXX}
{scYYY}
{vkXXscYYY}
|
Sends a keystroke that has virtual key XX and scan code YYY. For 예제: Send {vkFFsc159}. If the sc or vk portion is omitted, the most appropriate value is sent in its place.
The values for XX and YYY are hexadecimal and can usually be determined from the main window's View->Key history menu item. See also: Special Keys
|
|
|
{Numpad0} - {Numpad9} |
Numpad digit keys (as seen when Numlock is ON). For 예제: {Numpad5} is the digit 5. |
{NumpadDot} |
Numpad Period (as seen when Numlock is ON). |
{NumpadEnter} |
Enter key on keypad |
{NumpadMult} |
Numpad Multiply |
{NumpadDiv} |
Numpad Divide |
{NumpadAdd} |
Numpad Add |
{NumpadSub} |
Numpad Subtract |
|
|
{NumpadDel} |
Delete key on keypad (this key and the following Numpad keys are used when Numlock is OFF) |
{NumpadIns} |
Insert key on keypad |
{NumpadClear} |
Clear key on keypad (usually the '5' key when Numlock is OFF). |
{NumpadUp} |
Up-arrow key on keypad |
{NumpadDown} |
Down-arrow key on keypad |
{NumpadLeft} |
Left-arrow key on keypad |
{NumpadRight} |
Right-arrow key on keypad |
{NumpadHome} |
Home key on keypad |
{NumpadEnd} |
End key on keypad |
{NumpadPgUp} |
Page-up key on keypad |
{NumpadPgDn} |
Page-down key on keypad |
|
|
{Browser_Back} |
2000/XP/Vista+: Select the browser "back" button |
{Browser_Forward} |
2000/XP/Vista+: Select the browser "forward" button |
{Browser_Refresh} |
2000/XP/Vista+: Select the browser "refresh" button |
{Browser_Stop} |
2000/XP/Vista+: Select the browser "stop" button |
{Browser_Search} |
2000/XP/Vista+: Select the browser "search" button |
{Browser_Favorites} |
2000/XP/Vista+: Select the browser "favorites" button |
{Browser_Home} |
2000/XP/Vista+: Launch the browser and go to the home page |
{Volume_Mute} |
2000/XP/Vista+: Mute/unmute the master volume. Usually equivalent to SoundSet, +1, , mute |
{Volume_Down} |
2000/XP/Vista+: Reduce the master volume. Usually equivalent to SoundSet -5 |
{Volume_Up} |
2000/XP/Vista+: Increase the master volume. Usually equivalent to SoundSet +5 |
{Media_Next} |
2000/XP/Vista+: Select next track in media player |
{Media_Prev} |
2000/XP/Vista+: Select previous track in media player |
{Media_Stop} |
2000/XP/Vista+: Stop media player |
{Media_Play_Pause} |
2000/XP/Vista+: Play/pause media player |
{Launch_Mail} |
2000/XP/Vista+: Launch the email application |
{Launch_Media} |
2000/XP/Vista+: Launch media player |
{Launch_App1} |
2000/XP/Vista+: Launch user app1 |
{Launch_App2} |
2000/XP/Vista+: Launch user app2 |
|
|
{PrintScreen} |
Print Screen |
{CtrlBreak} |
Ctrl+break |
{Pause} |
Pause |
|
|
{Click [Options]}
[v1.0.43+] |
Sends a mouse click using the same options available in the Click command. For 예제, {Click} would click the left mouse button once at the mouse cursor's current position, and {Click 100, 200} would click at coordinates 100, 200 (based on CoordMode). To move the mouse without clicking, specify 0 after the coordinates; for 예제: {Click 100, 200, 0}. The delay between mouse clicks is determined by SetMouseDelay (not SetKeyDelay). |
{WheelDown}, {WheelUp}, {LButton}, {RButton}, {MButton}, {XButton1}, {XButton2} |
Sends a mouse button event at the cursor's current position (to have control over position and other options, use {Click} above). The delay between mouse clicks is determined by SetMouseDelay. |
{Blind} |
When {Blind} is the first item in the string, the program avoids releasing Alt/Control/Shift/Win if they started out in the down position. For 예제, the hotkey +s::Send {Blind}abc would send ABC rather than abc because the user is holding down the Shift key.
{Blind} also causes SetStoreCapslockMode to be ignored; that is, the state of Capslock is not changed. Finally, {Blind} omits the extra Control keystrokes that would otherwise be sent; such keystrokes prevent: 1) Start Menu appearance during LWin/RWin keystrokes; 2) menu bar activation during Alt keystrokes.
Blind-mode is used internally when remapping a key. For 예제, the remapping a::b would produce: 1) "b" when you type "a"; 2) uppercase B when you type uppercase A; and 3) Control-B when you type Control-A.
{Blind} is not supported by SendRaw and ControlSendRaw. Furthermore, it is not completely supported by SendPlay, especially when dealing with the modifier keys (Control, Alt, Shift, and Win).
|
{Raw}
[v1.0.43+] |
Sends the keystrokes exactly as they appear rather than translating {Enter} to an ENTER keystroke, ^c to Control-C, etc. Although the string {Raw} need not occur at the beginning of the string, once specified, it stays in effect for the remainder of the string. |
댓글을 달아 주세요
마우스 클릭하는거에서
바로 mouseclick,1,1,1 사용하는것과
mousemove,1,1
mouseclick,1,1,1 이렇게 해주는게
차이가 있을까요?
빠르게 움직이면서 클릭하게 하면 정확도가 좀 다를까 해서요
이미지가 욺직이느냐 안욺직느냐에 차이가 있겠죠?
고정적이라면 마우스무브를 사용하셔서 옮기신 후에
sleep을 주시고 클릭을 주시면 좀더 정확하게 클릭이 가능합니다.
만일 이미지가 욺직인다면
SetDefaultMouseSpeed, 0
이명령어를 스크립트 최상단에 넣어주세요.
마우스모브하고 마우스클릭은 아는데 어떻게 응용해서쓰는게 문제임;;
응용이 어려운 부분일까요?^^
조금만 더 노력해 보시면 다 해결하 실 수 있으실 꺼예요~
비밀댓글입니다
프리스타일은 이용을 안해봤습니다.
실질적으로 게임에서는 게임가드때문에 어려움이 많습니다.
적어준대로 해봤는데요~
스크롤이 막 내려가네요
이거 정상적으로 된 거 맞나요?
스크롤이 막 내려간다면 문제가 있는데 ..
스크립트를 적어주시겠어요?
Loop
{
send,{up down}s
sleep,1000
}
return
1. 위 스크립트를 입력하였을 시 어떠한 반응을 나타내는지요?
그리고 위의 스크립트는
키보드 위 방향키를 계속하여 누르고 있는 상태에서
s키는 반복적으로 계속 누르고 있게 할려는 스크립라고
만들어본건데 .. 맞나요?
2. 또 .. {up down} 명령어를 넣고난 후
또다른 방향키 명령어를 넣기위해서는 {up up} 명령어를
넣어주어야 하나요??
3 . 방향키 up 을 2초간 누르고 있다가 s를 누르는
반복적인 스크립트를 짤려고 하는데 잘 되지 않습니다
☞이는 위에 1번 질문을 해결하기 위함입니다
4. 제가 만들고 싶은 정확한 소스는 다음과 같습니다
마우스로는 임의의 좌표 100, 100을 10초 간격으로 계속하여
누르면서 이와 동시에 키보드는 방향키 up 을 2초간 누릅니다
이어서 키보드 s 를 10회 눌러준 후 d를 2번 눌러주게 하는
소스입니다
정리하자면 마우스의 임의 좌표클릭은 계속하고있고
이에 키보드 up2초, 이어서 s 10번, d 2q번
이를 반복하게 해주는 스크립트를 짜고 싶습니다
강좌를 살펴보고 살펴보며 만들어봣지만 번번히 실패하여
이렇게 질문글 남겨드립니다
거듭하여 확인할테지만 shadow2241@naver.com
으로도 메일 보내주시면 감사하겠습니다
좋은 강좌글 보고 매일같이 오토핫키를 공부하는 한 시람이
되었습니다. 계속하여 좋은 강좌글 부탁드리고 언제나 좋은정보
감사드립니다 ^^*
대부분 게임 매크로는 이걸 많이 응용해서 하는 거겠네요 ㅎㅎㅎ
게임매크로 질문때문에 강좌를 고민많이하고있습니다 ㅠㅠ
안녕하세요..
오토 핫키라는것을 알게되어 열심히 해보고 있습니다..
지금 마우스 키값 변경해볼려고 하는데요...
레이저 포인터겸 무선마우스를 샀는데...
프레지라는 PPT 프로그램 에서 먹히질 않더라구요....ㅜ.ㅜ
프리젠터로 쓸까해서 샀더니...
휠로 다음 이전으로 넘어가는거 까진 했는데...
좀 더 추가해보고 싶어서요....
휠업, 다운 명령은 찾기가...힘드네요...
wheelup::
send {right}
return
wheeldown::
send {left}
return
F2::
exitapp
여기까지 정상작동은 되는데...
좀더 추가해보고 싶은데 잘 안되네요..^^
우선 F1을 눌렀을때 스크립트를 시작 하고 싶습니다.
그러니까..
F1::
시작
휠 업시, 오른쪽
휠다운시, 왼쪽..
F2::
종료
그리고
휠이 한칸만 명령을 받아도 적용이 되네요..너무 예민한 반응..
카운트로 제어할수 있을가요?...
간단한거 같은데......잘 안되네요...하하하..^^
: 이거랑 :: 의 차이는 무엇인가요.
그리고 한글나오게 설정하면 외계어가 나오는 건가요??
: 는 서브스크립트
::는 핫키입니다.
end::exitapp
insert::reload
Home::
loop ;
{
send,(키보드 화살표 <-)
sleep,120000
send,(키보드 화살표 ->)
sleep,121000
send,(키보드 화살표 ->)
sleep,122000
}
return
120초 후에 왼쪽 화살표 누르고 121 초 후에 오른쪽, 또 1초후 오른쪽 누르는걸
만들고 싶은데 화살표 명령어를 모르겠습니다;;
화살표는
{up}
{down}
{left}
{right}
입니다.
안녕하세요 질문좀하려고하는데요
home키를누르면은 마우스 좌표가 등록되고 저장하게하는 방법은 어떻게하면되는건가요 ?
mousegetpos명령어를 사용하셔서 변수값을 저장하시면 됩니다.
3강의에서는 어떻게 하라는지 모르겟어요.. 네이트온친추해서 재대로알려주세요.ㅠㅠ
aldzl15@nate.com
조금만 더 이해해 보신다면 쉽게 아실 수 있으실 텐데 ..
ㅈㅅ 제가 줄수 있는건 댓글 뿐이네요 제가 이걸 진작 안봤을까요? 님덕에 잘 알구 갑니다요 댓글뿐이지만 힘내세요
댓글 너무나 감사합니다!!
비밀댓글입니다
궁금한것이 있습니다. 마우스 클릭에서 연산 식으로는 안되나요??
예를 들어서 클릭할 좌표=좌표-100 이렇게 하고싶은데
아무리 해도 안되네요. 이미지 서치를 이용한 해당 좌표에서 -100되어진 좌표를
마우스로 클릭시키기 위함입니다.
저가노가다클릭게임을재미로한는데 처음에만 클릭되고 나머지는클릭이안먹히고좌표만이동되더라고요 ㅜ 왜이럴까요?
F1::
loop
{
mousemove,40,421
sleep,1000
mouseclick,left,40,421,1
sleep,1000
mousemove,503,440
막이런식으로했는데
대충 근대왜클릭이안될까요?뒷부분도잘썼어요
노다가클릭게임을재미로하는데 처음에만클릭되고나중에가안되요 ㅠ
F1::
loop
{
mousemove,40,421
sleep,1000
mouseclick,left,40,421,1
sleep,1000
mousemove,503,440
sleep,1000
mouseclick,left,503,440,1
sleep,1000
}
return
end::exitapp
저가이거클릭게임녿다가클릭게이했는데 처음에만클릭이되고나머지는좌표만이동되더라고요왜이럴까요?
ㅎㅎ잘봤습니다
방향키는 뭐라고 입력해야되요 ㅎ?
카톡으로 질문좀받아주실수잇나여
Chy9463 입니다
게임 단순 매크로를 만드는중인데여
Y키를 최대한빠르게 많이누르도록 이것만하면되거든요
제가 듣기로 send 보다는 postmessage
가 반응 속도가 훨씬빠르다고 들었습니다
그래서 비활성화일때도 광클도되고 일석2조로
포스트메시지로 만들라고하는데
Y의 고유값이 뭔지가 아무리찾아도안나오네요ㅜㅜ
그리구 반응속도를 올리는스크립트가잇다던데 이것도넣어야할꺼같은데 찾는데안보이네요ㅠㅠ
마지막으로
F2::pause
를 스크립트맨아래 넣을껀데
다른 스크립트로 일시정지가 되나 실험을하는데
F2를 눌러도 일시정지가 안되네요 뭐가문제일까여 ㅜㅜ
맨처음시작핫키는 F1입니다 ㅠ
오토 포스트 전문을댓글로 남겨주세요.
안녕하세요 저도 반복작업 줄이려고 시작하는데 여쭤볼게있습니다.
두개의 작업창에서 복사해서 붙여넣기인데요..
현재는 아래를 적용해서 2번에서 1번 창으로 붙여넣기 하고 있는데요.
F1::Send, ^c
F2::Send, ^v
조금 더 욕심이 생겨서요.. 가능할지 여쭤봅니다.
---------------------------------------------------------
1번작업창에서 '한글단어1'을 복사해오고
2번작업창(엑셀)에서 '한글단어1'를 찾고 단어 우측으로 한칸이동해서 '영문단어1'를 복사해서
1번작업창(특정Tool화면)의 원래 복사해온 위치에 붙여넣는것인데요.
(* 1번 작업창은 키보드로 '단어'편집 활성화를 위해 마우스로 한번 클릭해야 합니다...)
---------------------------------------------------------
많이 복잡하죠 ^^;;;;
일부라도 손으로 반복하는걸 줄이고 싶은데 지원 좀 받을수 있을가요~