오토핫키 간단한 메뉴얼
막강한 매크로 프로그램이다. 사용방법이 좀 까다롭지만
프로그래밍 할줄 아시면 금방 적응 하실꺼에요
다운로드는
http://www.autohotkey.com/download/AutoHotkeyInstall.exe
사이트 주소는
http://www.autohotkey.com/
메뉴얼 보기
Denotes a block. Blocks are typically used with functions, Else, Loop, and IF-commands.
블락을 감싸는 기호. 함수, IF, Else, Loop 등에서 사용.
AutoTrim
Determines whether SetEnv and "var = value" statements remove spaces and tabs from the beginning and end of the string.
SetEnv, “var = value” 같이 변수에 문자열을 지정할 때, 시작/끝 부분의 빈칸과 탭을 없애고 넣을 것인지 결정. 없애는 게 기본값.
BlockInput
Disables or enables the user's ability to interact with the computer via keyboard, mouse, and perhaps other input devices.
키보드나 마우스, 기타 입력장치를 막아 버릴 수 있다.
Break
Exits (terminates) a loop. Valid only inside a loop.
루프(반복구문)에서 빠져나온다.
ClipWait
Waits until the clipboard contains data.
클립보드에 뭔가 쓰여질 때까지 기다린다.
Continue
Skips the rest of the current loop iteration and begins a new one. Valid only inside a loop.
루프에서 남은 부분을 생략하고 처음 부분부터 반복
Control
Makes a variety of changes to a control.
컨트롤 가지고 놀기
ControlClick
Sends a mouse button or mouse wheel event to a control.
컨트롤에 마우스 버튼이나 휠 이벤트 보내기
ControlFocus
Sets input focus to a given control on a window.
윈도우의 지정된 컨트롤로 입력 포커스를 옮김.
ControlGet
Retrieves various types of information about a control.
컨트롤 정보 가져오기
ControlGetFocus
Retrieves which control of the target window has input focus, if any.
윈도우의 어떤 컨트롤에 입력 포커스가 있는지 알아내기.
ControlGetPos
Retrieves the position and size of a control.
컨트롤의 위치와 크기 알아내기
ControlGetText
Retrieves text from a control.
컨트롤에서 텍스트 가져오기
ControlMove
Moves or resizes a control.
컨트롤 위치나 크기 변경
ControlSend / ControlSendRaw
Sends simulated keystrokes to a window or control.
윈도우나 컨트롤에 가장 키스트로크 보내기
ControlSetText
Changes the text of a control.
컨트롤의 텍스트 바꾸기
CoordMode
Sets coordinate mode for various commands to be relative to either the active window or the screen.
여러 명령에서 쓰이는 좌표 모드를 설정하기.
활성창 기준 좌표 <-> 전체 스크린 좌표
Critical
Prevents the current thread from being interrupted by other threads.
다른 스레드가 현재 스레드를 방해하는 걸 방지.
(오토핫키는 멀티스레드 방식으로 여러 개의 스크립트가 동시에 돌아갈 수 있음.)
DetectHiddenText
Determines whether invisible text in a window is "seen" for the purpose of finding the window. This affects commands such as IfWinExist and WinActivate.
IfWinExist나 WinActivate 등을 사용할 때 숨겨진 텍스트를 보이게 하는 기능.
DetectHiddenWindows
Determines whether invisible windows are "seen" by the script.
숨겨진 윈도우를 볼 수 있게 하는 기능
DllCall()
Calls a function inside a DLL, such as a standard Windows API function.
스탠다드 윈도우즈 API 함수같은, DLL 안의 함수를 호출.
Drive
Ejects/retracts the tray in a CD or DVD drive, or sets a drive's volume label.
CD/DVD 드라이브를 열고, 닫고, 이름 바꾸고.
DriveGet
Retrieves various types of information about the computer's drive(s).
드라이브(하드, 플로피, 옵티컬 등) 정보 얻어내기
DriveSpaceFree
Retrieves the free disk space of a drive, in Megabytes.
드라이브의 빈 공간 알아내기.
Edit
Opens the current script for editing in the associated editor.
편집기를 띄워 현재 스크립트를 편집하기.
Else
Specifies the command(s) to perform if an IF-statement evaluates to FALSE. When more than one command is present, enclose them in a block (braces).
If 문 다음에 “아니면” 실행.
EnvAdd
Sets a variable to the sum of itself plus the given value (can also add or subtract time from a date-time value). Synonymous with: var += value
원래 값에 다른 값을 더해서 자기 자신에 할당. 이것과 같음: var += value
EnvDiv
Sets a variable to itself divided by the given value. Synonymous with: var /= value
원래 값에 다른 값을 나눠서 자기 자신에 할당. var /= value
EnvMult
Sets a variable to itself times the given value. Synonymous with: var *= value
곱해서 할당.
EnvSet
Writes a value to a variable contained in the environment.
환경변수에 포함된 변수에 값을 씀.
EnvSub
Sets a variable to itself minus the given value (can also compare date-time values). Synonymous with: var -= value
원래 값에서 다른 값을 빼서 자기 자신에 할당.
EnvUpdate
Notifies the OS and all running applications that environment variable(s) have changed.
운영체제와 다른 프로그램에게 환경변수 내용이 바뀌었다고 알려줌.
Exit
Exits the current thread or (if the script is not persistent contains no hotkeys) the entire script.
현재 스레드나 전체 스크립트 실행을 중단.
ExitApp
Terminates the script unconditionally.
무조건 스크립트를 중단.
FileAppend
Appends text to a file (first creating the file, if necessary).
파일에 텍스트를 덧붙임.
FileCopy
Copies one or more files.
파일 복사
FileCopyDir
Copies a folder along with all its sub-folders and files (similar to xcopy).
폴더를 내용물까지 전부 복사
FileCreateDir
Creates a folder.
폴더 만들기
FileCreateShortcut
Creates a shortcut (.lnk) file.
링크파일 만들기
FileDelete
Deletes one or more files.
파일 삭제
FileInstall
Includes the specified file inside the compiled script.
컴파일된 스크립트에 지정 파일을 포함
FileGetAttrib
Reports whether a file or folder is read-only, hidden, etc.
파일이나 폴더의 속성 알아내기
FileGetShortcut
Retrieves information about a shortcut (.lnk) file, such as its target file.
링크 파일에 대한 정보 알아내기.
FileGetSize
Retrieves the size of a file.
파일의 크기 알아내기.
FileGetTime
Retrieves the datetime stamp of a file or folder.
파일이나 폴더의 타임스탬프 정보 가져오기.
FileGetVersion
Retrieves the version of a file.
파일의 버전정보 가져오기.
FileMove
Moves or renames one or more files.
파일 이동/이름변경.
FileMoveDir
Moves a folder along with all its sub-folders and files. It can also rename a folder.
폴더 이동/이름변경.
FileRead
Reads all of a file's text into a variable.
파일 내용 몽땅 읽어오기.
FileReadLine
Reads the specified line from a file and stores the text in a variable.
파일의 특정 라인 읽어오기.
FileRecycle
Sends a file or directory to the recycle bin, if possible.
파일 지우거나 휴지통으로 보내기.
FileRecycleEmpty
Empties the recycle bin.
휴지통 비우기.
FileRemoveDir
Deletes a folder.
폴더 지우기.
FileSelectFile
Displays a standard dialog that allows the user to select file(s).
파일 선택하는 표준 다이얼로그 띄우기.
FileSelectFolder
Displays a standard dialog that allows the user to select a folder.
폴더 선택하는 표준 다이얼로그 띄우기.
FileSetAttrib
Changes the attributes of one or more files or folders. Wildcards are supported.
파일/폴더의 속성 바꾸기.
FileSetTime
Changes the datetime stamp of one or more files or folders. Wildcards are supported.
파일, 폴더의 타임스탬프 정보 바꾸기.
FormatTime
Transforms a YYYYMMDDHH24MISS timestamp into the specified date/time format.
YYYYMMDDHH24MISS 타임스탬프 정보를 다른 형식으로 변환하기.
GetKeyState
Checks if a keyboard key or mouse/joystick button is down or up. Also retrieves joystick status.
키보드, 마우스, 조이스틱 버튼이 눌려있는지 알아보기.
Gosub
Jumps to the specified label and continues execution until Return is encountered.
해당 레이블로 뛰어서 Return 만날 때까지 계속 실행.
Goto
Jumps to the specified label and continues execution.
해당 레이블로 뛰어서 계속 실행(Gosub랑 뭐가 다른지 잘 모르겠음.)
GroupActivate
Activates the next window in a window group that was defined with GroupAdd.
GroupAdd로 설정된 윈도우 그룹 중 다음 윈도우를 활성화 시킴.
GroupAdd
Adds a window specification to a window group, creating the group if necessary.
윈도우에 그룹 속성을 추가함.
GroupClose
Closes the active window if it was just activated by GroupActivate or GroupDeactivate. It then activates the next window in the series. It can also close all windows in a group.
GroupActivate나 GroupDeactivate로 활성화된 윈도우를 닫고, 다음 윈도우를 활성화시킴. 그룹으로 묶여진 윈도우 전부를 닫을 수도 있다.
GroupDeactivate
Similar to GroupActivate except activates the next window not in the group.
그룹 안에 없는 다음 윈도우를 활성화 시킴.
GUI
Creates and manages windows and controls. Such windows can be used as data entry forms or custom user interfaces.
윈도우와 컨트롤들을 만들고 관리.
GuiControl
Makes a variety of changes to a control in a GUI window.
GUI 윈도우 내의 컨트롤을 가지고 논다.
GuiControlGet
Retrieves various types of information about a control in a GUI window.
GUI 윈도우의 컨트롤에 대한 여러가지 정보를 얻어낸다.
HideAutoItWin, On|Off
[Obsolete -- the following is equivalent: Menu, tray, NoIcon|Icon]
안쓰는 명령어. Meny, tray, NoIcon|Icon 이랑 같음.
Hotkey
Creates, modifies, enables, or disables a hotkey while the script is running.
스크립트가 실행되는 동안 핫키를 만들고, 바꾸고, 등등.
if
Specifies the command(s) to perform if the comparison of a variable to a value evalutes to TRUE. When more than one command is present, enclose them in a block (braces).
IF 다음이 참이면 다음 명령을 실행. 명령이 여러개면 블락으로 묶어줌.
if (expression)
Specifies the command(s) to perform if an expression evaluates to TRUE.
마찬가지
If var [not] between
Checks whether a variable's contents are numerically or alphabetically between two values (inclusive).
어떤 변수의 값이 숫자상으로 또는 알파벳 순으로 두 값 사이에 있는지 확인.
If var [not] in/contains MatchList
Checks whether a variable's contents match one of the items in a list.
어떤 변수의 값이 리스트상의 값들 중 하나와 일치하는지 확인.
If var is [not] type
Checks whether a variable's contents are numeric, uppercase, etc.
어떤 변수의 값이 숫자인지, 대문자로 이루어졌는지 등을 확인.
IfEqual/IfNotEqual
Compares a variable to a value for equality. Synonymous with: if var = value | if var <> value
두 변수가 같은 값인지 확인.
IfExist / FileExist()
Checks for the existence of a file or folder.
파일이나 폴더가 존재하는지 확인.
IfGreater/IfGreaterOrEqual
Compares a variable to a value. Synonymous with: if var > value | if var >= value
두 변수를 비교해 앞에 게 큰지 확인.
IfInString / InStr()
Checks if a variable contains the specified string.
변수에 어떤 문자열이 들어있는지 확인.
IfLess/IfLessOrEqual
Compares a variable to a value. Synonymous with: if var < value | if var <= value
앞두 변수를 비교해 앞에게 작은지 확인.
IfMsgBox
Checks which button was pushed by the user during the most recent MsgBox command.
방금 메시지박스에서 사용자가 어떤 버튼을 눌렀는지 알아냄.
IfWinActive / IfWinNotActive
Checks if the specified window exists and is currently active (foreground).
지정한 윈도우가 존재하고 활성화 상태인지 확인.
IfWinExist / IfWinNotExist
Checks if the specified window exists.
지정한 윈도우가 존재하는지 확인.
ImageSearch
Searches a region of the screen for an image.
지정된 구역에서 이미지를 찾음. (이 기능 맘에 든다.)
웹페이지에서 어떤 배너를 항상 클릭하게 만들고 싶은데 그 위치가 수시로 바뀔 때, 그 배너 이미지를 따로 저장해 놓고, 저장해 놓은 이미지랑 똑같은(혹은 비슷한) 이미지를 화면에서 찾으라고 하면 딱 찾아준다. 와…
IniDelete
Deletes a value from a standard format .ini file.
스탠다드 INI 파일에서 값을 지움.
IniRead
Reads a value from a standard format .ini file.
스탠다드 INI 파일에서 값을 읽음.
IniWrite
Writes a value to a standard format .ini file.
스탠다드 INI 파일에서 값을 씀.
Input
Waits for the user to type a string (not supported on Windows 9x).
사용자가 문자열을 입력할 때까지 기다린다.
InputBox
Displays an input box to ask the user to enter a string.
사용자로부터 문자열 입력을 받기 위한 박스를 띄운다.
KeyHistory
Displays script info and a history of the most recent keystrokes and mouse clicks.
최근 키보드와 마우스 클릭 상태를 보여준다. 키보드 스캔코드와 마우스 좌표 등을 알아낼 때 유용하다.
KeyWait
Waits for a key or mouse/joystick button to be released or pressed down.
키보드나 마우스, 조이스틱 버튼이 눌리거나 떼어지길 기다린다.
LeftClick
[Obsolete -- use MouseClick for greater flexibility]
안쓰이는 명령어. MouseClick을 써라.
LeftClickDrag
[Obsolete -- use MouseClickDrag for greater flexibility]
안쓰이는 명령어. MouseClickDrag를 써라.
ListHotkeys
Displays the hotkeys in use by the current script, whether their subroutines are currently running, and whether or not they use the keyboard or mouse hook.
현재 스크립트에 의해 지정되어 있는 핫키의 상태를 보여준다.
ListLines
Displays the script lines most recently executed.
최근 실행된 스크립트 라인들을 보여준다.
ListVars
Displays the script's variables: their names and current contents.
스크립트에서 사용되는 변수들을 보여준다. 이름이랑 현재 값들…
Loop (normal)
Perform a series of commands repeatedly: either the specified number of times or until break is encountered.
명령들을 반복한다. 횟수를 지정할 수도 있고, 중간에 break로 끊을 수도 있다.
Loop (files & folders)
Retrieves the specified files or folders, one at a time.
지정된 파일이나 폴더를 하나씩 읽어온다.
Loop (parse a string)
Retrieves substrings (fields) from a string, one at a time.
문자열에서 거기 포함된 문자열을 하나씩 읽어온다.
Loop (read file contents)
Retrieves the lines in a text file, one at a time (performs better than FileReadLine).
텍스트 파일을 한 줄씩 읽어온다. (FileReadLine보다 낫다.)
Loop (registry)
Retrieves the contents of the specified registry subkey, one item at a time.
레지스트리 서브키의 값을 하나씩 읽어온다.
Menu
Creates, deletes, modifies and displays menus and menu items. Changes the tray icon and its tooltip. Controls whether the main window of a compiled script can be opened.
GUI에서 쓰는 명령. 메뉴와 메뉴 아이템 가지고 놀기. 트레이 아이콘, 툴팁 바꾸기, 등등.
MouseClick
Clicks or holds down a mouse button, or turns the mouse wheel.
마우스 클릭, 마우스 휠 돌리기. 매우 유용할 것 같음.
MouseClickDrag
Clicks and holds the specified mouse button, moves the mouse to the destination coordinates, then releases the button.
마우스로 드래그하기.
MouseGetPos
Retrieves the current position of the mouse cursor, and optionally which window and control it is hovering over.
마우스 커서의 위치, 커서가 어떤 윈도우, 컨트롤 위에 있는지 알아내기.
Script Showcase(samples)에 보면 Mouse Gestures ? by deguix 가 있는데, 마우스 움직임을 감지하여 여러가지 기능을 한다고 합니다. Fingerworks iGesture 기능을 구현한 거죠. 이 함수를 이용했을 겁니다.
MouseMove
Moves the mouse cursor.
마우스 커서 이동시키기.
MsgBox
Displays the specified text in a small window containing one or more buttons (such as Yes and No).
메시지박스 띄우기.
OnExit
Specifies a subroutine to run automatically when the script exits.
스크립트 끝날 때 자동으로 수행할 서브루틴 지정하기.
OnMessage()
Specifies a function to run automatically when the script receives the specified message.
특정 메시지를 받으면 자동으로 수행할 함수 지정하기.
OutputDebug
Sends a string to the debugger (if any) for display.
디버거에 표시할 문자열 보내기.
Pause
Pauses the script's current thread.
스크립트 수행 잠시 멈추기.
PixelGetColor
Retrieves the color of the pixel at the specified x,y screen coordinates.
지정한 좌표의 색깔 알아내기.
PixelSearch
Searches a region of the screen for a pixel of the specified color.
지정된 구역 안에서 어떤 색깔을 가진 점 찾아내기.
PostMessage
Places a message in the message queue of a window or control.
윈도우나 컨트롤의 메시지큐에 메시지 집어넣기.
Process
Performs one of the following operations on a process: checks if it exists; changes its priority; closes it; waits for it to close.
프로세스 가지고 놀기.
Progress
Creates or updates a window containing a progress bar.
프로그레스 바 있는 윈도우 만들거나 업데이트하기.
Random
Generates a pseudo-random number.
난수? 만들기
RegDelete
Deletes a subkey or value from the registry.
레지스트리 서브키 지우기.
RegRead
Reads a value from the registry.
레지스트리 값 읽어오기.
RegWrite
Writes a value to the registry.
레지스트리 값 쓰기.
Reload
Replaces the currently running instance of the script with a new one.
스크립트 다시 실행하기
Repeat¡|EndRepeat
[Obsolete -- use Loop for greater flexibility]
안쓰는 명령어. Loop을 쓰시오.
Return
Returns from a subroutine to which execution had previously jumped via function-call, Gosub, Hotkey activation, GroupActivate, or other means.
함수 종료하고 불렸던 곳으로 돌아감.
RightClick
[Obsolete -- use MouseClick for greater flexibility]
안씀.
RightClickDrag
[Obsolete -- use MouseClickDrag for greater flexibility]
안씀.
Run
Runs an external program.
외부 프로그램을 실행.
RunAs
Specifies a set of user credentials to use for all subsequent uses of Run and RunWait. Requires Windows 2000/XP or later.
프로그램 수행시 필요한 ID와 Password 등을 지정.
RunWait
Runs an external program and waits until it finishes.
외부 프로그램을 실행시키고 그게 끝날 때까지 기다림.
Send / SendRaw
Sends simulated keystrokes to the active window.
활성화된 윈도우에 키스트로크 보냄.
SendMessage
Sends a message to a window or control and waits for acknowledgement.
윈도우나 컨트롤에 메시지 보내고 애크를 기다림.
(애크: 뭘 보내고 나면 받는 쪽에서 다시 보내주는 “잘 받았어!” 하는 응답)
SetBatchLines
Determines how fast a script will run (affects CPU utilization).
스크립트 수행속도를 설정. (CPU 점유율에 영향.)
SetCapslockState
Sets the state of the Capslock key. Can also force the key to stay on or off.
캡스락 키 세팅.
SetControlDelay
Sets the delay that will occur after each control-modifying command.
각 컨트롤-변경 명령 후에 줄 딜레이 설정.
SetDefaultMouseSpeed
Sets the mouse speed that will be used if unspecified in MouseMove/Click/Drag.
MouseMove/Click/Drag에서 디폴트로 사용할 마우스 속도 지정.
SetFormat
Sets the format of integers and floating point numbers generated by math operations.
수학 연산 결과물의 포맷을 지정.
SetKeyDelay
Sets the delay that will occur after each keystroke sent by Send or ControlSend.
Send나 ControlSend로 키스트로크 보내고 난 후에 줄 딜레이 설정.
SetMouseDelay
Sets the delay that will occur after each mouse movement or click.
마우스 이동이나 클릭 후에 줄 딜레이 설정.
SetNumlockState
Sets the state of the Numlock key. Can also force the key to stay on or off.
넘락 키 세팅.
SetScrollLockState
Sets the state of the Scrolllock key. Can also force the key to stay on or off.
스크롤락 키 세팅.
SetStoreCapslockMode
Whether to restore the state of CapsLock after a Send.
Send 후에 캡스락 키 상태를 원복할 것인지 결정.
SetTimer
Causes a subroutine to be launched automatically and repeatedly at a specified time interval.
지정된 시간 간격으로 서브루틴을 자동으로 실행시킴.
SetTitleMatchMode
Sets the matching behavior of the WinTitle parameter in commands such as WinWait.
WinWait 같은 명령에서 윈도우 제목을 찾는 방식 설정.
SetWinDelay
Sets the delay that will occur after each windowing command, such as WinActivate.
윈도우 명령어를 날리고 나서 줄 딜레이 설정.
SetWorkingDir
Changes the script's current working directory.
스크립트의 작업 디렉토리 변경.
Shutdown
Shuts down, restarts, or logs off the system.
컴퓨터를 끄거나 재시작 하거나 로그오프 하기.
Sleep
Waits the specified amount of time before continuing.
잠시 쉬기.
Sort
Arranges a variable's contents in alphabetical, numerical, or random order (optionally removing duplicates).
변수들을 알파벳 순, 숫자 순, 임의 순으로 정렬.
SoundBeep
Emits a tone from the PC speaker.
스피커로 삑 소리.
SoundGet
Retrieves various settings from a sound device (master mute, master volume, etc.)
사운드 디바이스의 세팅 값 알아내기. (음소거, 볼륨 등.)
SoundGetWaveVolume
Retrieves the wave output volume from a sound device.
사운드 디바이스의 wave 출력 볼륨 알아내기.
SoundPlay
Plays a sound, video, or other supported file type.
사운드, 비디오 등 재생하기.
SoundSet
Changes various settings of a sound device (master mute, master volume, etc.)
사운드 디바이스 세팅 값 변경하기. (음소거, 볼륨 등.)
SoundSetWaveVolume
Changes the wave output volume for a sound device.
사운드 디바이스 wave 출력 볼륨 조절하기.
SplashImage
Creates or updates a window containing a JPG, GIF, or BMP image.
이미지 파일 있는 윈도우 만들거나 업데이트 하기.
SplashTextOn
Creates a customizable text popup window.
텍스트 팝업 윈도우 만들기.
SplashTextOff
Closes the above window.
위에서 만든 윈도우 닫기.
SplitPath
Separates a file name or URL into its name, directory, extension, and drive.
파일 이름이나 URL을 이름, 디렉토리, 확장자, 드라이브명으로 분리하기.
StatusBarGetText
Retrieves the text from a standard status bar control.
표준 상태바에서 텍스트 읽어오기.
StatusBarWait
Waits until a window's status bar contains the specified string.
윈도우 상태바가 어떤 문자열을 가질 때까지 기다리기.
StringCaseSense
Determines whether string comparisons are case sensitive (default is "no").
문자열 비교할 때 대소문자 구별한 건지 설정. (초기값은 구별 안함.)
StringGetPos
Retrieves the position of the specified substring within a string.
문자열에서 포함 문자열의 위치를 알아냄.
StringLeft
Retrieves a number of characters from the left-hand side of a string.
문자열의 왼쪽부터 몇 개의 글자를 읽어옴.
StringMid
Retrieves one or more characters from the specified position in a string.
문자열의 중간 어딘가부터 몇 개의 글자를 읽어옴.
StringRight
Retrieves a number of characters from the right-hand side of a string.
문자열의 오른쪽부터 몇 개의 글자를 읽어옴.
StringLen / StrLen()
Retrieves the count of how many characters are in a string.
문자열에 글자가 몇 개인지 알아냄.
StringLower
Converts a string to lowercase.
문자열을 소문자로 변환.
StringReplace
Replaces the specified substring with a new string.
문자열의 포함 문자열을 다른 걸로 바꿈.
StringSplit
Separates a string into an array of substrings using the specified delimiters.
문자열을 지정된 글자를 기준으로 분리.
StringTrimLeft
Removes a number of characters from the left-hand side of a string.
문자열을 왼쪽부터 몇 개 없앰.
StringTrimRight
Removes a number of characters from the right-hand side of a string.
문자열을 오른쪽부터 몇 개 없앰.
StringUpper
Converts a string to uppercase.
문자열을 대문자로 변환.
Suspend
Disables or enables all or selected hotkeys.
핫키를 disable/enable
SysGet
Retrieves screen resolution, multi-monitor info, dimensions of system objects, and other system properties.
스크린 크기, 멀티 모니터 정보 등의 시스템 속성을 알아냄.
Thread
Sets the priority or interruptibility of threads. It can also temporarily disable all timers.
스레드의 우선순위, 인터럽트 가능여부 등을 설정. 타이머를 전부 죽이기도.
ToolTip
Creates an always-on-top window anywhere on the screen.
항상 위 윈도우를 만들기.
Transform
Performs miscellaneous math functions, bitwise operations, and tasks such as ASCII/Unicode conversion.
수학 함수, 비트 연산, 아스키/유니코드 변환 등 여러가지 기능.
TrayTip
Creates a balloon message window near the tray icon. Requires Windows 2000/XP or later.
윈도우 트레이 아이콘에 풍선도움말 만들기.
URLDownloadToFile
Downloads a file from the Internet.
인터넷에서 파일 다운로드.
Var = value
Assigns the specified value to a variable.
변수에 값 집어넣기.
Var := expression
Evaluates an expression and stores the result in a variable.
변수에 계산값 집어넣기.
VarSetCapacity()
Enlarges a variable's holding capacity or frees its memory. Normally, this is necessary only for unusual circumstances such as DllCall.
변수에 할당된 메모리를 늘리거나 줄이기.
WinActivate
Activates the specified window (brings it to the foreground).
윈도우 활성화시키기. (맨 앞으로 옮기기.)
WinActivateBottom
Same as WinActivate except that it activates the bottommost (least recently active) matching window rather than the topmost.
WinActivate나 이거나 지정된 윈도우를 찾아서 활성화 시키는데, 위에건 맨 위에서부터 찾고, 이건 맨 밑에서부터 찾아서 활성화 시킴.
WinClose
Closes the specified window.
윈도우 닫기.
WinGetActiveStats
Combines the functions of WinGetActiveTitle and WinGetPos into one command.
WinGetActiveTitle와 WinGetPos를 한 방에.
WinGetActiveTitle
Retrieves the title of the active window.
활성화된 윈도우의 제목 알아내기.
WinGetClass
Retrieves the specified window's class name.
지정된 윈도우의 클래스 이름 알아내기.
WinGet
Retrieves the specified window's unique ID, process ID, process name, or a list of its controls. It can also retrieve a list of all windows matching the specified criteria.
윈도우에 대한 다양한 정보 얻어내기.
WinGetPos
Retrieves the position and size of the specified window.
윈도우 위치와 크기 알아내기.
WinGetText
Retrieves the text from the specified window.
윈도우의 텍스트 읽어오기.
WinGetTitle
Retrieves the title of the specified window.
윈도우의 제목 알아내기.
WinHide
Hides the specified window.
윈도우 숨기기.
WinKill
Forces the specified window to close.
윈도우 죽이기.
WinMaximize
Enlarges the specified window to its maximum size.
윈도우 최대화.
WinMenuSelectItem
Invokes a menu item from the menu bar of the specified window.
윈도우의 메뉴 바에서 메뉴 아이템 선택하기.
WinMinimize
Collapses the specified window into a button on the task bar.
윈도우 최소화.
WinMinimizeAll
Minimizes all windows.
윈도우 전부 최소화
WinMinimizeAllUndo
Reverses the effect of a previous WinMinimizeAll.
WinMinimizeAll 취소
WinMove
Changes the position and/or size of the specified window.
윈도우 위치, 크기 변경.
WinRestore
Unminimizes or unmaximizes the specified window if it is minimized or maximized.
윈도우 최대화, 최소화 취소하고 원래 크기로.
WinSet
Makes a variety of changes to the specified window, such as "always on top" and transparency.
“항상 맨 위에”, 투명도 등 여러가지로 윈도우 가지고 놀기.
WinSetTitle
Changes the title of the specified window.
윈도우 제목 변경.
WinShow
Unhides the specified window.
윈도우 숨긴 거 취소. (다시 나타나게 하기.)
WinWait
Waits until the specified window exists.
윈도우가 생길 때까지 기다리기.
WinWaitActive
Waits until the specified window is active.
윈도우가 활성화될 때가지 기다리기.
WinWaitClose
Waits until the specified window does not exist.
윈도우가 없어질 때까지 기다리기.
WinWaitNotActive
Waits until the specified window is not active.
윈도우가 비활성화 될 때까지 기다리기.
아래는 대부분 필요 없는 것 같아 번역은 생략하고 원문만 남깁니다.
#AllowSameLineComments
Only for AutoIt v2 (.aut) scripts: Allows a comment to appear on the same line as a command.
#ClipboardTimeout
Changes how long the script keeps trying to open the clipboard.
#CommentFlag
Changes the script's comment symbol from semicolon to some other string.
#ErrorStdOut
Sends any syntax error that prevents a script from launching to stdout rather than displaying a dialog.
#EscapeChar
Changes the script's escape character (for example: backslash vs. accent).
#HotkeyInterval
Along with #MaxHotkeysPerInterval, specifies the rate of hotkey activations beyond which a warning dialog will be displayed.
#HotkeyModifierTimeout
Affects the behavior of hotkey modifiers: CTRL, ALT, WIN, and SHIFT.
#Hotstring
Changes hotstring options or ending characters.
#Include
Causes the script to behave as though the specified file's contents are present at this exact position.
#InstallKeybdHook
Forces the unconditional installation of the keyboard hook.
#InstallMouseHook
Forces the unconditional installation of the mouse hook.
#KeyHistory
Sets the maximum number of keyboard and mouse events displayed by the KeyHistory window. You can set it to 0 to disable key history.
#MaxHotkeysPerInterval
Along with #HotkeyInterval, specifies the rate of hotkey activations beyond which a warning dialog will be displayed.
#MaxMem
Sets the maximum capacity of each variable to the specified number of megabytes.
#MaxThreads
Sets the maximum number of simultaneous threads.
#MaxThreadsBuffer
Causes some or all hotkeys to buffer rather than ignore keypresses when their #MaxThreadsPerHotkey limit has been reached.
#MaxThreadsPerHotkey
Sets the maximum number of simultaneous threads per hotkey.
#NoTrayIcon
Disables the showing of a tray icon.
#Persistent
Keeps a script permanently running (that is, until the user closes it or ExitApp is encountered).
#SingleInstance
Prevents more than one instance of a script from existing simultaneously.
#UseHook
Forces the use of the hook to implement all or some keyboard hotkeys.
#WinActivateForce
Skips the gentle method of of activating a window and goes straight to the forceful method.
Hotkeys
핫키는 숏컷이라고 부르기도 한다. 아래 예는 윈키+N으로 메모장을 실행시키는 거다.
#가 윈키를 의미한다.
#n::
Run Notepad
return
마지막 줄의 “return”은 핫키를 끝내는 역할을 한다.
핫키의 역할이 단 한 줄을 실행하는 거라면 :: 뒤에 그 한 줄만 써도 됀다.
return은 없어도 된다는 말이다.
#n::Run Notepad
두 개 이상의 모디파이어 키(쉬프트, 알트, 컨트롤, 윈키 등)를 사용하고 싶으면 연달아 쓰면 된다.
컨트롤+알트 경우에 ^!
^!s::
Send Sincerely,{enter}John Smith ; This line sends keystrokes to the active (foremost) window.
return
모디파이어 기호들이다.
Symbol Description
#
윈키
!
알트
^
컨트롤
+
쉬프트
&
두 개의 키나 마우스 버튼을 조합할 때 쓴다. 아래에 자세히…
<
모디파이어 키가 좌우로 있는 경우 왼쪽을 지정한다.
<!a 는 왼쪽 알트 + a 를 말한다.
>
오른쪽 키다. 위에꺼랑 이건 윈도우즈 95/98/ME에서 지원 안한다.
<^>!
AltGr키. 오른쪽 알트 대신 AltGr키가 있는 경우 사용한다. (윈도우즈 NT/2000/XP에서만 지원) 예를 들어
<^>!m::MsgBox You presssed AltGr+m.
<^<!m::MsgBox You pressed LeftControl+LeftAlt+m.
*
와일드카드: 다른 모디파이어 키가 동시에 눌렸을 때도 실행한다. 리매핑과 함께 자주 사용된다. 예를 들어:
*#c::Run Calc.exe ; Win+C, Shift+Win+C, Ctrl+Win+C, 등을 눌러도 실행된다.
*ScrollLock::Run Notepad ; 모디파이어 키랑 같이 눌러도 실행된다.
Windows 95/98/ME에서는 지원 안함.
~
키의 원래 기능도 같이 동작한다. 이거 없이 쓰면 원래 기능은 무시되고 지정한 기능만 수행된다.
아래 예에서 ~가 없으면 메시지 박스만 나오는데, ~가 있으면 마우스 오른쪽 버튼의 원래 기능도 같이 수행된다.
~RButton::MsgBox You clicked the right mouse button.
~RButton & C::MsgBox You pressed C while holding down the right mouse button.
$
Send 명령어로 보내는 명령어에 자기자신이 포함되어 있는 경우 쓴다.
이걸 안쓰면 자기가 보낸걸 자기가 또 반복하는 경우가 생긴다.
운영체제마다 좀 다르다. (어떻게 다른지는 원문 참조)
t::www.kbdmania.net
이렇게 쓰면 끝의 t가 다시 www.kbdmania.net을 부르고
그 끝의 t가 또 www.kbdmania.net을 부르고 계속 반복된다. 앞에 $를 붙이면 해결.
UP
키를 눌렀을 때 말고 키를 놓았을 때 실행하고 싶으면 키 이름 뒤에 Up을 붙인다.
조이스틱 버튼은 해당 안된다.
*LWin::Send {LControl Down}
*LWin Up::Send {LControl Up}
키보드랑 마우스, 조이스틱 버튼 전부 보고 싶으면 Key List 참조.
핫키 레이블은 보통 레이블처럼 쓸 수 있다. Gosub/Goto등으로 이동할 수 있고,
여러 개의 핫키로 같은 일을 할 수도 있다.
아래 예는 숫자키 0과 1이 같은 기능을 하도록 한 거다.
^Numpad0::
^Numpad1::
MsgBox Pressing either Control+Numpad0 or Control+Numpad1 will display this message.
return
이렇게 쓰면 그 키를 완전 무시한다.
RWin::return
