ヘルプの目次

AutoHotkey

Tutorial (quick start)

FAQ (Frequently Asked Questions)

Command and Function Index

Script Showcase

Recent Changes

Basic Usage and Syntax

  • Hotkeys
  • Hotstrings & auto-replace
  • Remapping keys and buttons
  • Key List (Keyboard, Mouse, Joystick)
  • Scripts
  • Variables and Expressions
  • Functions
  • Debugging (DBGp) Clients
  • Objects
    • Basic Usage
    • Extended Usage
    • Custom Objects
    • Default Base Object
    • Implementation
    • Object
    • Enumerator Object
    • File Object
    • Func Object

Moving to AutoHotkey_L

  • AutoHotkey_L New Features
  • Script Compatibility

Environment Management

  • ClipWait
  • EnvGet
  • EnvSet
  • EnvUpdate

Native Code Interop

  • DllCall
  • NumGet
  • NumPut
  • RegisterCallback
  • StrPut()/StrGet()
  • COM
    • ComObjActive
    • ComObjArray
    • ComObjConnect
    • ComObjCreate
    • ComObjGet
    • ComObjError
    • ComObjFlags
    • ComObjQuery
    • ComObjType
    • ComObjValue

File, Directory, and Disk Management

  • 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 (files & folders)
  • Loop (read file contents)
  • SetWorkingDir
  • SplitPath

Flow of Control

  • #Include/#IncludeAgain
  • { ... } (block)
  • Break
  • Catch
  • Continue
  • Critical
  • Else
  • Exit
  • ExitApp
  • 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 commands
    • 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

Built-in Functions

  • Asc
  • Chr
  • FileExist
  • GetKeyName/VK/SC
  • GetKeyState
  • InStr
  • IsByRef
  • IsFunc
  • IsLabel
  • NumGet
  • NumPut
  • OnMessage
  • RegExMatch
  • RegExReplace
  • RegisterCallback
  • StrLen
  • StrPut()/StrGet()
  • SubStr
  • VarSetCapacity
  • WinActive
  • WinExist

GUI, MsgBox, InputBox & Other Dialogs

  • 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

Mouse and Keyboard

  • Hotkeys and Hotstrings
    • #HotkeyInterval
    • #HotkeyModifierTimeout
    • #Hotstring
    • #If
    • #IfTimeOut
    • #IfWinActive/Exist
    • #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
  • SendMode
  • SetDefaultMouseSpeed
  • SetKeyDelay
  • SetMouseDelay
  • SetNumScrollCapsLockState
  • SetStoreCapslockMode

Maths

  • Abs
  • Ceil
  • Exp
  • Floor
  • Log
  • Ln
  • Mod
  • Random
  • Round
  • SetFormat
  • Sqrt
  • Sin/Cos/Tan
  • ASin/ACos/ATan
  • Transform

Screen Management

Misc. Commands

  • #NoTrayIcon
  • #SingleInstance
  • #Warn
  • AutoTrim
  • Edit
  • ListLines
  • ListVars
  • OutputDebug
  • SysGet
  • Transform
  • URLDownloadToFile
  • VarSetCapacity

Process Management

  • Process
  • Run/RunWait
  • RunAs
  • Shutdown

Registry Management

  • Loop (registry)
  • RegDelete
  • RegRead
  • RegWrite

Sound Commands

  • SoundBeep
  • SoundGet
  • SoundGetWaveVolume
  • SoundPlay
  • SoundSet
  • SoundSetWaveVolume

String Management

  • 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()
  • SubStr()
  • Trim()

Window Management

  • Controls
    • Control
    • ControlClick
    • ControlFocus
    • ControlGet
    • ControlGetFocus
    • ControlGetPos
    • ControlGetText
    • ControlMove
    • ControlSend/ControlSendRaw
    • ControlSetText
    • Menu
    • PostMessage/SendMessage
    • SetControlDelay
    • WinMenuSelectItem
  • Window Groups
    • 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

#Directives

  • #AllowSameLineComments
  • #ClipboardTimeout
  • #CommentFlag
  • #ErrorStdOut
  • #EscapeChar
  • #HotkeyInterval
  • #HotkeyModifierTimeout
  • #Hotstring
  • #If
  • #IfWinActive/Exist
  • #IfTimeout
  • #Include/#IncludeAgain
  • #InstallKeybdHook
  • #InstallMouseHook
  • #KeyHistory
  • #MaxHotkeysPerInterval
  • #MaxMem
  • #MaxThreads
  • #MaxThreadsBuffer
  • #MaxThreadsPerHotkey
  • #NoEnv
  • #NoTrayIcon
  • #Persistent
  • #SingleInstance
  • #UseHook
  • #Warn
  • #WinActivateForce

参考

  • User Manual (AutoHotkey.chm)