- 목차
- 색인
- 오토핫키 소개
- 자습서
- FAQ (자주 묻는 질문)
- 명령어와 함수 인덱스
- 예제 스크립트
- 최근 변경사항
- ►기본적인 사용법과 구문
- 핫키
- 핫스트링 & 자동-교체
- 키와 버튼을 리맵하기
- 키 리스트 (키보드, 마웃, 조이스틱)
- 스크립트
- 변수와 표현식
- 함수
- 디버깅 클라이언트 (DBGp)
- ►객체
- 기본 사용법
- 고급 사용법
- 맞춤 객체
- 기본 베이스 객체
- 객체의 구현
- 객체
- 열거 객체
- 파일 객체
- 함수 객체
- ►AutoHotkey 1.1로 이주하기 (AutoHotkey_L)
- AutoHotkey_L 새 특징
- 스크립트 호환성
- ►환경 관리
- ClipWait
- EnvGet
- EnvSet
- EnvUpdate
- ►고유 코드 상호운용
- DllCall
- NumGet
- NumPut
- RegisterCallback
- StrPut()/StrGet()
- ►COM
- ComObjActive
- ComObjArray
- ComObjConnect
- ComObjCreate
- ComObjGet
- ComObjError
- ComObjFlags
- ComObjQuery
- ComObjType
- ComObjValue
- ObjAddRef / ObjRelease
- ►파일, 디렉토리, 그리고 디스크 관리
- Drive
- DriveGet
- DriveSpaceFree
- FileAppend
- FileCopy
- FileCopyDir
- FileCreateDir
- FileCreateShortcut
- FileDelete
- FileEncoding
- FileGetAttrib
- FileGetShortcut
- FileGetSize
- FileGetTime
- FileGetVersion
- FileInstall
- FileMove
- FileMoveDir
- FileOpen()
- FileReadLine
- FileRead
- FileRecycle
- FileRecycleEmpty
- FileRemoveDir
- FileSelectFile
- FileSelectFolder
- FileSetAttrib
- FileSetTime
- IfExist/IfNotExist
- IniDelete
- IniRead
- IniWrite
- Loop (파일 & 폴더)
- Loop (파일 내용 읽기)
- SetWorkingDir
- SplitPath
- ►실행 흐름
- #Include/#IncludeAgain
- { ... } (block)
- Break
- Catch
- Continue
- Critical
- Else
- Exit
- ExitApp
- Finally
- For-loop
- Gosub
- Goto
- ►If commands
- If (traditional)
- If (expression)
- If var [not] between Low and High
- If var is [not] type
- If var [not] in/contains MatchList
- IfExist/IfNotExist
- IfInString/IfNotInString
- IfMsgBox
- IfWinActive/IfWinNotActive
- IfWinExist/IfWinNotExist
- ►회돌이 명령어
- Loop
- Loop (files & folders)
- Loop (parse a string)
- Loop (read file contents)
- Loop (registry)
- OnExit
- Pause
- Reload
- Return
- SetBatchLines
- SetTimer
- Sleep
- Suspend
- Thread
- Throw
- Try
- Until
- While-loop
- ►내장 함수
- Asc
- Chr
- FileExist
- Format
- GetKeyName/VK/SC
- GetKeyState
- InStr
- IsByRef
- IsFunc
- IsLabel
- NumGet
- NumPut
- OnClipboardChange
- OnExit
- OnMessage
- Ord
- RegExMatch
- RegExReplace
- RegisterCallback
- StrLen
- StrPut/StrGet
- StrReplace
- StrSplit
- SubStr
- VarSetCapacity
- WinActive
- WinExist
- ►GUI, MsgBox, InputBox & 기타 대화상자
- FileSelectFile
- FileSelectFolder
- Gui
- Gui control types
- GuiControl
- GuiControlGet
- Gui ListView control
- Gui TreeView control
- IfMsgBox
- InputBox
- Menu
- MsgBox
- OnMessage
- Progress
- SplashImage
- SplashTextOn/SplashTextOff
- ToolTip
- TrayTip
- ►마우스와 키보드
- ►핫키와 핫스트링
- #HotkeyInterval
- #HotkeyModifierTimeout
- #Hotstring
- #If
- #IfTimeOut
- #IfWinActive/Exist
- #InputLevel
- #MaxHotkeysPerInterval
- #MaxThreads
- #MaxThreadsBuffer
- #MaxThreadsPerHotkey
- #MenuMaskKey
- #UseHook
- Hotkey
- ListHotkeys
- Suspend
- #InstallKeybdHook
- #InstallMouseHook
- #KeyHistory
- BlockInput
- Click
- ControlClick
- ControlSend, ControlSendRaw
- CoordMode
- GetKeyState
- Key List (Keyboard, Mouse, Joystick)
- KeyHistory
- KeyWait
- Input
- MouseClick
- MouseClickDrag
- MouseGetPos
- MouseMove
- Send, SendRaw, SendInput, SendPlay, SendEvent
- SendLevel
- SendMode
- SetDefaultMouseSpeed
- SetKeyDelay
- SetMouseDelay
- SetNumScrollCapsLockState
- SetStoreCapslockMode
- ►수학 함수
- Abs
- Ceil
- Exp
- Floor
- Log
- Ln
- Mod
- Random
- Round
- SetFormat
- Sqrt
- Sin/Cos/Tan
- ASin/ACos/ATan
- Transform
- ►화면 관리
- ImageSearch
- PixelGetColor
- PixelSearch
- ►기타 명령어
- #NoTrayIcon
- #SingleInstance
- #Warn
- AutoTrim
- Edit
- ListLines
- ListVars
- OutputDebug
- SysGet
- Transform
- URLDownloadToFile
- VarSetCapacity
- ►프로세스 관리
- Process
- Run/RunWait
- RunAs
- Shutdown
- ►레지스트리 관리
- Loop (registry)
- RegDelete
- RegRead
- RegWrite
- SetRegView
- ►전송 명령어
- SoundBeep
- SoundGet
- SoundGetWaveVolume
- SoundPlay
- SoundSet
- SoundSetWaveVolume
- ►문자열 관리
- Format()
- FormatTime
- IfInString/IfNotInString
- If var [not] in/contains MatchList
- InStr()
- Loop (parse a string)
- RegExMatch()
- RegExReplace()
- SetEnv (var = value)
- SetFormat
- Sort
- StringCaseSense
- StringGetPos
- StringLeft/StringRight
- StringLen
- StringLower/StringUpper
- StringMid
- StringReplace
- StringSplit
- StringTrimLeft/StringTrimRight
- StrLen()
- StrPut()/StrGet()
- StrReplace()
- StrSplit()
- SubStr()
- Trim()
- ►창 관리
- ►콘트롤
- Control
- ControlClick
- ControlFocus
- ControlGet
- ControlGetFocus
- ControlGetPos
- ControlGetText
- ControlMove
- ControlSend/ControlSendRaw
- ControlSetText
- Menu
- PostMessage/SendMessage
- SetControlDelay
- WinMenuSelectItem
- ►창 그룹
- GroupActivate
- GroupAdd
- GroupClose
- GroupDeactivate
- #WinActivateForce
- DetectHiddenText
- DetectHiddenWindows
- IfWinActive/IfWinNotActive
- IfWinExist/IfWinNotExist
- SetTitleMatchMode
- SetWinDelay
- StatusBarGetText
- StatusBarWait
- WinActivate
- WinActivateBottom
- WinClose
- WinGet
- WinGetActiveStats
- WinGetActiveTitle
- WinGetClass
- WinGetPos
- WinGetText
- WinGetTitle
- WinHide
- WinKill
- WinMaximize
- WinMinimize
- WinMinimizeAll, WinMinimizeAllUndo
- WinMove
- WinRestore
- WinSet
- WinSetTitle
- WinShow
- WinWait
- WinWaitActive, WinWaitNotActive
- WinWaitClose
- ►#지시어
- #AllowSameLineComments
- #ClipboardTimeout
- #CommentFlag
- #ErrorStdOut
- #EscapeChar
- #HotkeyInterval
- #HotkeyModifierTimeout
- #Hotstring
- #If
- #IfWinActive/Exist
- #IfTimeout
- #Include/#IncludeAgain
- #InputLevel
- #InstallKeybdHook
- #InstallMouseHook
- #KeyHistory
- #MaxHotkeysPerInterval
- #MaxMem
- #MaxThreads
- #MaxThreadsBuffer
- #MaxThreadsPerHotkey
- #MenuMaskKey
- #NoEnv
- #NoTrayIcon
- #Persistent
- #SingleInstance
- #UseHook
- #Warn
- #WinActivateForce
MsgBox의 버튼 이름 바꾸기
다음은 타이머를 사용하여 MsgBox 대화상자의 버튼 이름을 바꾸는 예제입니다. 버튼 이름은 바뀌더라도, IfMsgBox 명령어는 여전히 버튼이 그의 원래 이름으로 참조되기를 요구합니다.
이 스크립트 내려받기 | 다른 샘플 스크립트 | 홈으로
#SingleInstance SetTimer, ChangeButtonNames, 50 MsgBox, 4, Add or Delete, Choose a button: IfMsgBox, YES MsgBox, You chose Add. else MsgBox, You chose Delete. return ChangeButtonNames: IfWinNotExist, Add or Delete return ; 계속 대기. SetTimer, ChangeButtonNames, off WinActivate ControlSetText, Button1, &Add ControlSetText, Button2, &Delete return