Skip to content

Instantly share code, notes, and snippets.

@10sr
Created February 9, 2010 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 10sr/299038 to your computer and use it in GitHub Desktop.
Save 10sr/299038 to your computer and use it in GitHub Desktop.
oedit/otbedit用のahkキーワードファイル
// language setttings for AutoHotKey
// 関数、機能が1、それ以外が2 な感じ
KeywordNocase:TRUE
KeywordFile:autohotkey.txt
OpenComment:/*
CloseComment:*/
RowComment:;
BreakChars: ,.:;(){}[]"=><-|&*+-/%!^
OperatorChars:=!&|^~*/+-%<>;:.,(){}[]
BracketChars:)}
QuoteChars:"
EscapeChar:`
LanguageKeywordChars:
CStyleIndent:TRUE
TagLanguageMode:FALSE
// Oedit/Otbedit keyword syntax file for AutoHotkey
// Copied from TextPad keyword syntax file
#AllowSameLineComments
#ClipboardTimeout
#CommentFlag
#ErrorStdOut
#EscapeChar
#HotkeyInterval
#HotkeyModifierTimeout
#Hotstring
#IfWinActive
#IfWinExist
#IfWinNotActive
#IfWinNotExist
#Include
#IncludeAgain
#InstallKeybdHook
#InstallMouseHook
#KeyHistory
#LTrim
#MaxHotkeysPerInterval
#MaxMem
#MaxThreads
#MaxThreadsBuffer
#MaxThreadsPerHotkey
#NoEnv
#NoTrayIcon
#Persistent
#SingleInstance
#UseHook
#WinActivateForce
AutoTrim
BlockInput
Break
Click
ClipWait
Continue
Control
ControlClick
ControlFocus
ControlGet
ControlGetFocus
ControlGetPos
ControlGetText
ControlMove
ControlSend
ControlSendRaw
ControlSetText
CoordMode
Critical
DetectHiddenText
DetectHiddenWindows
Drive
DriveGet
DriveSpaceFree
Edit
Else
EnvAdd
EnvDiv
EnvGet
EnvMult
EnvSet
EnvSub
EnvUpdate
Exit
ExitApp
FileAppend
FileCopy
FileCopyDir
FileCreateDir
FileCreateShortcut
FileDelete
FileGetAttrib
FileGetShortcut
FileGetSize
FileGetTime
FileGetVersion
FileInstall
FileMove
FileMoveDir
FileRead
FileReadLine
FileRecycle
FileRecycleEmpty
FileRemoveDir
FileSelectFile
FileSelectFolder
FileSetAttrib
FileSetTime
FormatTime
GetKeyState
Gosub
Goto
GroupActivate
GroupAdd
GroupClose
GroupDeactivate
Gui
GuiControl
GuiControlGet
Hotkey
If
IfEqual
IfExist
IfGreater
IfGreaterOrEqual
IfInString
IfLess
IfLessOrEqual
IfMsgBox
IfNotEqual
IfNotExist
IfNotInString
IfWinActive
IfWinExist
IfWinNotActive
IfWinNotExist
ImageSearch
IniDelete
IniRead
IniWrite
Input
InputBox
KeyHistory
KeyWait
ListHotkeys
ListLines
ListVars
Loop
Menu
MouseClick
MouseClickDrag
MouseGetPos
MouseMove
MsgBox
OnExit
OutputDebug
Pause
PixelGetColor
PixelSearch
PostMessage
Process
Progress
Random
RegDelete
RegRead
RegWrite
Reload
Repeat
Return
Run
RunAs
RunWait
Send
SendEvent
SendInput
SendMessage
SendMode
SendPlay
SendRaw
SetBatchLines
SetCapsLockState
SetControlDelay
SetDefaultMouseSpeed
SetEnv
SetFormat
SetKeyDelay
SetMouseDelay
SetNumLockState
SetScrollLockState
SetStoreCapslockMode
SetTimer
SetTitleMatchMode
SetWinDelay
SetWorkingDir
Shutdown
Sleep
Sort
SoundBeep
SoundGet
SoundGetWaveVolume
SoundPlay
SoundSet
SoundSetWaveVolume
SplashImage
SplashTextOff
SplashTextOn
SplitPath
StatusBarGetText
StatusBarWait
StringCaseSense
StringGetPos
StringLeft
StringLen
StringLower
StringMid
StringReplace
StringRight
StringSplit
StringTrimLeft
StringTrimRight
StringUpper
Suspend
SysGet
Thread
ToolTip
Transform
TrayTip
URLDownloadToFile
While
WinActivate
WinActivateBottom
WinClose
WinGet
WinGetActiveStats
WinGetActiveTitle
WinGetClass
WinGetPos
WinGetText
WinGetTitle
WinHide
WinKill
WinMaximize
WinMenuSelectItem
WinMinimize
WinMinimizeAll
WinMinimizeAllUndo
WinMove
WinRestore
WinSet
WinSetTitle
WinShow
WinWait
WinWaitActive
WinWaitClose
WinWaitNotActive
// Used with CoordMode or PixelXXX commands:,2
Pixel,2
Mouse,2
Screen,2
Relative,2
RGB,2
// Continuation sections:,2
LTrim,2
RTrim,2
Join,2
// Priority of processes,2
Low,2
BelowNormal,2
Normal,2
AboveNormal,2
High,2
Realtime,2
// Keywords inside the WinTitle parameter of various commands:,2
ahk_id,2
ahk_pid,2
ahk_class,2
ahk_group,2
// Used with SetFormat and/or "if Var is [not] type" & BETWEEN/IN,2
Between,2
Contains,2
In,2
Is,2
Integer,2
Float,2
IntegerFast,2
FloatFast,2
Number,2
Digit,2
Xdigit,2
Alpha,2
Upper,2
Lower,2
Alnum,2
Time,2
Date,2
// Omitted because it's a key name too: SPACE,2
// Expression keywords:,2
Not,2
Or,2
And,2
// Used with Drive/DriveGet and/or WinGet/WinSet:,2
AlwaysOnTop,2
Topmost,2
Top,2
Bottom,2
Transparent,2
TransColor,2
Redraw,2
Region,2
ID,2
IDLast,2
ProcessName,2
MinMax,2
ControlList,2
Count,2
List,2
Capacity,2
StatusCD,2
Eject,2
Lock,2
Unlock,2
Label,2
FileSystem,2
Label,2
SetLabel,2
Serial,2
Type,2
Status,2
// For functions:,2
static,2
global,2
local,2
ByRef,2
// Time units for use with addition and subtraction:,2
Seconds,2
Minutes,2
Hours,2
Days,2
// For use with the Loop command:,2
Read,2
Parse,2
// A_ExitReason,2
Logoff,2
Close,2
Error,2
Single,2
// The following are Commented out because they are already a keywords due to being a commands:,2
//Shutdown,2
//Menu,2
//Exit,2
//Reload,2
// Keywords used with the "menu" command:,2
Tray,2
Add,2
Rename,2
Check,2
UnCheck,2
ToggleCheck,2
Enable,2
Disable,2
ToggleEnable,2
Default,2
NoDefault,2
Standard,2
NoStandard,2
Color,2
Delete,2
DeleteAll,2
Icon,2
NoIcon,2
Tip,2
Click,2
Show,2
MainWindow,2
NoMainWindow,2
UseErrorLevel,2
// Gui control types (note that Edit, Progress and Hotkey aren't included since they are already command keywords):,2
Text,2
Picture,2
Pic,2
GroupBox,2
Button,2
Checkbox,2
Radio,2
DropDownList,2
DDL,2
ComboBox,2
ListBox,2
ListView,2
DateTime,2
MonthCal,2
Slider,2
StatusBar,2
Tab,2
Tab2,2
TreeView,2
UpDown,2
// ListView:,2
IconSmall,2
Tile,2
Report,2
SortDesc,2
NoSort,2
NoSortHdr,2
Grid,2
Hdr,2
AutoSize,2
Range,2
// General GUI keywords:,2
xm,2
ym,2
ys,2
xs,2
xp,2
yp,2
Font,2
Resize,2
Owner,2
Submit,2
NoHide,2
Minimize,2
Maximize,2
Restore,2
NoActivate,2
NA,2
Cancel,2
Destroy,2
Center,2
Margin,2
MaxSize,2
MinSize,2
OwnDialogs,2
GuiEscape,2
GuiClose,2
GuiSize,2
GuiContextMenu,2
GuiDropFiles,2
TabStop,2
Section,2
AltSubmit,2
Wrap,2
HScroll,2
VScroll,2
Border,2
Top,2
Bottom,2
Buttons,2
Expand,2
First,2
ImageList,2
Lines,2
WantCtrlA,2
WantF2,2
Vis,2
VisFirst,2
Number,2
Uppercase,2
Lowercase,2
Limit,2
Password,2
Multi,2
WantReturn,2
Group,2
Background,2
bold,2
italic,2
strike,2
underline,2
norm,2
BackgroundTrans,2
Theme,2
Caption,2
Delimiter,2
MinimizeBox,2
MaximizeBox,2
SysMenu,2
ToolWindow,2
Flash,2
Style,2
ExStyle,2
Check3,2
Checked,2
CheckedGray,2
ReadOnly,2
Password,2
Hidden,2
Left,2
Right,2
Center,2
NoTab,2
Section,2
Move,2
Focus,2
Hide,2
Choose,2
ChooseString,2
Text,2
Pos,2
Enabled,2
Disabled,2
Visible,2
LastFound,2
LastFoundExist,2
// Already included with menu:,2
//Show,2
//Menu,2
//Color,2
//Edit,2
//Default,2
//Enable,2
//Disable,2
//Default,2
// Keywords used with the Hotkey command:,2
AltTab,2
ShiftAltTab,2
AltTabMenu,2
AltTabAndMenu,2
AltTabMenuDismiss,2
// Keywords used with the Thread/Process commands,2
NoTimers,2
Interrupt,2
Priority,2
WaitClose,2
Wait,2
Exist,2
Close,2
// Keywords for Send (these key names are also listed in Keys.txt, but without braces):,2
{Blind},2
{Click},2
{Raw},2
{AltDown},2
{AltUp},2
{ShiftDown},2
{ShiftUp},2
{CtrlDown},2
{CtrlUp},2
{LWinDown},2
{LWinUp},2
{RWinDown},2
{RWinUp},2
// Keywords used with the Transform command:,2
Unicode,2
Asc,2
Chr,2
Deref,2
Mod,2
Pow,2
Exp,2
Sqrt,2
Log,2
Ln,2
Round,2
Ceil,2
Floor,2
Abs,2
Sin,2
Cos,2
Tan,2
ASin,2
ACos,2
ATan,2
BitNot,2
BitAnd,2
BitOr,2
BitXOr,2
BitShiftLeft,2
BitShiftRight,2
// Keywords used with "IfMsgBox" ("continue" is not present here because it's a command too):,2
Yes,2
No,2
Ok,2
Cancel,2
Abort,2
Retry,2
Ignore,2
TryAgain,2
// Misc. eywords used with various commands:,2
On,2
Off,2
All,2
// Registry root keys:,2
HKEY_LOCAL_MACHINE,2
HKEY_USERS,2
HKEY_CURRENT_USER,2
HKEY_CLASSES_ROOT,2
HKEY_CURRENT_CONFIG,2
HKLM,2
HKU,2
HKCU,2
HKCR,2
HKCC,2
// Registry value types:,2
REG_SZ,2
REG_EXPAND_SZ,2
REG_MULTI_SZ,2
REG_DWORD,2
REG_BINARY,2
A_AhkPath,2
A_AhkVersion,2
A_AppData,2
A_AppDataCommon,2
A_AutoTrim,2
A_BatchLines,2
A_CaretX,2
A_CaretY,2
A_ComputerName,2
A_ControlDelay,2
A_Cursor,2
A_DD,2
A_DDD,2
A_DDDD,2
A_DefaultMouseSpeed,2
A_Desktop,2
A_DesktopCommon,2
A_DetectHiddenText,2
A_DetectHiddenWindows,2
A_EndChar,2
A_EventInfo,2
A_ExitReason,2
A_FormatFloat,2
A_FormatInteger,2
A_Gui,2
A_GuiEvent,2
A_GuiControl,2
A_GuiControlEvent,2
A_GuiHeight,2
A_GuiWidth,2
A_GuiX,2
A_GuiY,2
A_Hour,2
A_IconFile,2
A_IconHidden,2
A_IconNumber,2
A_IconTip,2
A_Index,2
A_IPAddress1,2
A_IPAddress2,2
A_IPAddress3,2
A_IPAddress4,2
A_ISAdmin,2
A_IsCompiled,2
A_IsCritical,2
A_IsPaused,2
A_IsSuspended,2
A_KeyDelay,2
A_Language,2
A_LastError,2
A_LineFile,2
A_LineNumber,2
A_LoopField,2
A_LoopFileAttrib,2
A_LoopFileDir,2
A_LoopFileExt,2
A_LoopFileFullPath,2
A_LoopFileLongPath,2
A_LoopFileName,2
A_LoopFileShortName,2
A_LoopFileShortPath,2
A_LoopFileSize,2
A_LoopFileSizeKB,2
A_LoopFileSizeMB,2
A_LoopFileTimeAccessed,2
A_LoopFileTimeCreated,2
A_LoopFileTimeModified,2
A_LoopReadLine,2
A_LoopRegKey,2
A_LoopRegName,2
A_LoopRegSubkey,2
A_LoopRegTimeModified,2
A_LoopRegType,2
A_MDAY,2
A_Min,2
A_MM,2
A_MMM,2
A_MMMM,2
A_Mon,2
A_MouseDelay,2
A_MSec,2
A_MyDocuments,2
A_Now,2
A_NowUTC,2
A_NumBatchLines,2
A_OSType,2
A_OSVersion,2
A_PriorHotkey,2
A_ProgramFiles,2
A_Programs,2
A_ProgramsCommon,2
A_ScreenHeight,2
A_ScreenWidth,2
A_ScriptDir,2
A_ScriptFullPath,2
A_ScriptName,2
A_Sec,2
A_Space,2
A_StartMenu,2
A_StartMenuCommon,2
A_Startup,2
A_StartupCommon,2
A_StringCaseSense,2
A_Tab,2
A_Temp,2
A_ThisFunc,2
A_ThisHotkey,2
A_ThisLabel,2
A_ThisMenu,2
A_ThisMenuItem,2
A_ThisMenuItemPos,2
A_TickCount,2
A_TimeIdle,2
A_TimeIdlePhysical,2
A_TimeSincePriorHotkey,2
A_TimeSinceThisHotkey,2
A_TitleMatchMode,2
A_TitleMatchModeSpeed,2
A_UserName,2
A_WDay,2
A_WinDelay,2
A_WinDir,2
A_WorkingDir,2
A_YDay,2
A_YEAR,2
A_YWeek,2
A_YYYY,2
Clipboard,2
ClipboardAll,2
ComSpec,2
ErrorLevel,2
ProgramFiles,2
True,2
False,2
^
{^}
+
{+}
!
{!}
#
{#}
~
{~}
$
{$}
`
{`}
Shift
{Shift}
LShift
{LShift}
RShift
{RShift}
Alt
{Alt}
LAlt
{LAlt}
RAlt
{RAlt}
Control
{Control}
LControl
{LControl}
RControl
{RControl}
Ctrl
{Ctrl}
LCtrl
{LCtrl}
RCtrl
{RCtrl}
LWin
{LWin}
RWin
{RWin}
AppsKey
{AppsKey}
AltDown
{AltDown}
AltUp
{AltUp}
ShiftDown
{ShiftDown}
ShiftUp
{ShiftUp}
CtrlDown
{CtrlDown}
CtrlUp
{CtrlUp}
LWinDown
{LWinDown}
LWinUp
{LWinUp}
RWinDown
{RWinDown}
RWinUp
{RWinUp}
LButton
{LButton}
RButton
{RButton}
MButton
{MButton}
WheelUp
{WheelUp}
WheelDown
{WheelDown}
WheelLeft
{WheelLeft}
WheelRight
{WheelRight}
XButton1
{XButton1}
XButton2
{XButton2}
Joy1
{Joy1}
Joy2
{Joy2}
Joy3
{Joy3}
Joy4
{Joy4}
Joy5
{Joy5}
Joy6
{Joy6}
Joy7
{Joy7}
Joy8
{Joy8}
Joy9
{Joy9}
Joy10
{Joy10}
Joy11
{Joy11}
Joy12
{Joy12}
Joy13
{Joy13}
Joy14
{Joy14}
Joy15
{Joy15}
Joy16
{Joy16}
Joy17
{Joy17}
Joy18
{Joy18}
Joy19
{Joy19}
Joy20
{Joy20}
Joy21
{Joy21}
Joy22
{Joy22}
Joy23
{Joy23}
Joy24
{Joy24}
Joy25
{Joy25}
Joy26
{Joy26}
Joy27
{Joy27}
Joy28
{Joy28}
Joy29
{Joy29}
Joy30
{Joy30}
Joy31
{Joy31}
Joy32
{Joy32}
JoyX
{JoyX}
JoyY
{JoyY}
JoyZ
{JoyZ}
JoyR
{JoyR}
JoyU
{JoyU}
JoyV
{JoyV}
JoyPOV
{JoyPOV}
JoyName
{JoyName}
JoyButtons
{JoyButtons}
JoyAxes
{JoyAxes}
JoyInfo
{JoyInfo}
Space
{Space}
Tab
{Tab}
Enter
{Enter}
// Not this one since it's already a keyword (a command): RETURN
Escape
{Escape}
Esc
{Esc}
BackSpace
{BackSpace}
BS
{BS}
Delete
{Delete}
Del
{Del}
Insert
{Insert}
Ins
{Ins}
PGUP
{PGUP}
PGDN
{PGDN}
Home
{Home}
End
{End}
Up
{Up}
Down
{Down}
Left
{Left}
Right
{Right}
PrintScreen
{PrintScreen}
CtrlBreak
{CtrlBreak}
Pause
{Pause}
ScrollLock
{ScrollLock}
CapsLock
{CapsLock}
NumLock
{NumLock}
Numpad0
{Numpad0}
Numpad1
{Numpad1}
Numpad2
{Numpad2}
Numpad3
{Numpad3}
Numpad4
{Numpad4}
Numpad5
{Numpad5}
Numpad6
{Numpad6}
Numpad7
{Numpad7}
Numpad8
{Numpad8}
Numpad9
{Numpad9}
NumpadMult
{NumpadMult}
NumpadAdd
{NumpadAdd}
NumpadSub
{NumpadSub}
NumpadDiv
{NumpadDiv}
NumpadDot
{NumpadDot}
NumpadDel
{NumpadDel}
NumpadIns
{NumpadIns}
NumpadClear
{NumpadClear}
NumpadUp
{NumpadUp}
NumpadDown
{NumpadDown}
NumpadLeft
{NumpadLeft}
NumpadRight
{NumpadRight}
NumpadHome
{NumpadHome}
NumpadEnd
{NumpadEnd}
NumpadPgup
{NumpadPgup}
NumpadPgdn
{NumpadPgdn}
NumpadEnter
{NumpadEnter}
F1
{F1}
F2
{F2}
F3
{F3}
F4
{F4}
F5
{F5}
F6
{F6}
F7
{F7}
F8
{F8}
F9
{F9}
F10
{F10}
F11
{F11}
F12
{F12}
F13
{F13}
F14
{F14}
F15
{F15}
F16
{F16}
F17
{F17}
F18
{F18}
F19
{F19}
F20
{F20}
F21
{F21}
F22
{F22}
F23
{F23}
F24
{F24}
Browser_Back
{Browser_Back}
Browser_Forward
{Browser_Forward}
Browser_Refresh
{Browser_Refresh}
Browser_Stop
{Browser_Stop}
Browser_Search
{Browser_Search}
Browser_Favorites
{Browser_Favorites}
Browser_Home
{Browser_Home}
Volume_Mute
{Volume_Mute}
Volume_Down
{Volume_Down}
Volume_Up
{Volume_Up}
Media_Next
{Media_Next}
Media_Prev
{Media_Prev}
Media_Stop
{Media_Stop}
Media_Play_Pause
{Media_Play_Pause}
Launch_Mail
{Launch_Mail}
Launch_Media
{Launch_Media}
Launch_App1
{Launch_App1}
Launch_App2
{Launch_App2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment