REFERENCE
COMMANDS AND KEYWORDS

Names of commands and arguments are case-insensitive. Names of windows are case-sensitive. All keywords and arguments must be enclosed in <>'s. Any characters in a hotkey file that are not enclosed in <>'s are interpreted as keystrokes to be injected into a window.

AddButtonToPanel
Moves a button onto a panel. Click here for more info.

AlwaysOnTop
Makes a window stay on top even when a different window has the focus. Click here for more info.

ApplyTemplate
Copies a chunk of text in a script with macro substitutions. Click here for more info.

BlockInput
Stops physical key presses and mouse button presses from reaching applications. Click here for more info.

Cancel
Cancels current and pending actions. Click here for more info.

ClickMouse
Moves the mouse cursor to a specified location and clicks a mouse button. Click for more info.

CloseWin
Asks the currently targeted window to close itself. Click here for more info.

Command
Creates a user-defined command that can be used as a subroutine or entered on HotkeyNet's command line. Click here for more info.

CommandLine
Makes the command line window pop up. Click here for more info.

Comment
Two slashes indicate the start of a comment. Click for more info.

CreateButton
Creates a system button on the screen. Click for more info.

CreateColoredButton
Creates a colored rectangle on the screen that can be used as a status indicator or button. Click for more info.

CreatePanel
Creates a window on the screen that can contain buttons. Click for more info.

CreatePictureButton
Creates a colored rectangle on the screen that can be used as a status indicator or button. Click for more info.

CursorInfo
CursorInfo is generated automatically by HotkeyNet when it executes a mouse command. You should never use CursorInfo yourself.

DefineKey
Defines a non-standard key. Click here for more info.

DoHotkey
Triggers a hotkey from a command or another hotkey. Click here for more info.

DoToggles
Executes a hotkey repeatedly until all its toggles, starting with the current one, have executed. Click here for more info.

DisplayVars
Displays all existing variables for debugging. Click here for more info.

DoRandomToggle
Sets a hotkey's toggle to a random number and triggers the hotkey. Click here for more info.

Else
Used with If. Click for more info.

EndIf
Used with If. Click for more info.

EndTemplate
Identifies the end of a chunk of text in a script which will be copied with macro substitutions. Click for more info.

HideWin
Hides the currently targeted window. Click here for more info.

Hotkey
Declares the key combination that triggers a hotkey. Click for more info.

HotkeyUp
Declares the key combination that triggers a hotkey. Click for more info.

If
Tests a condition and performs your instructions only if the condition is true. Click for more info.

IncludeFile
Incorporates a hotkey file inside another hotkey file. Click for more info.

Key
Sends a keystroke modified by shift, alt, or ctrl. Click for more info.

KeyDown
Performs a key press. Click for more info.

KeyList
Creates a list of key names that can be used for hotkey triggers. Click for more info.

KeyUp
Performs a key release. Click for more info.

KillBackgroundFocus
This command can sometimes force a background window to accept keystrokes and mouse clicks. Click for more info.

KillMutex
Destroys a mutex. Click for more info.

Label
Creates a mailing label. Click for more info.

ListButtons
Displays a list of existing buttons and panels for debugging. Click for more info.

LoadHotkeyFile
Loads a hotkey file. Click for more info.

LoadScript
Loads a script. Click for more info.

MaximizeWin
Maximizes the currently targeted window. Click for more info.

MinimizeWin
Minimizes the currently targeted window. Click for more info.

MovementHotkey
Creates one or more hold down hotkeys that can be used for movement in games. Click for more info.

MoveMouse
Moves the mouse cursor to specified location. Click for more info.

Open
Starts a program. Click for more info.

Override
Removes a loaded hotkey from HotkeyNet's memory so you can redefine it. Click for more info.

PassThrough
Passes the hotkey trigger key to the window that has the focus. Click for more info.

PingHotkeyNet
Measures how long it takes to send a message to another copy of HotkeyNet and receive an answer. Click for more info.

PostMessage
Posts a message to a window with the system PostMessage() command. Click here for more info.

RemoveWinFrame
Removes the frame from the currently targeted window. Click here for more info.

RenameFromPath
Finds the window that started from the specified file or directory, and renames it. Click here for more info.

RenameTargetWin
Changes the name of a window. Click here for more info.

RenameWin
Changes the name of a window. Click here for more info.

ResetToggles
Sets all hotkeys that contain Toggle back to their first actions. Click for more info.

Restore
Puts the original window back in the foreground after finishing with sendwin. Click here for more info.

RestoreCapsLock
Turns CapsLock back on after it was turned off with TurnCapsLockOff. Click here for more info.

RestoreLockKeys
Turns lock keys back on after they were turned off with TurnLockKeysOff. Click here for more info.

RestoreMousePos
Moves the mouse cursor back to a previously saved position. Click here for more info.

RestoreWinSize
Restores the currently targeted window to normal size. Click here for more info.

Run
Starts a program and targets its top-level window. Click here for more info.

SaveMousePos
Saves the position of the mouse cursor so it can be moved back later. Click here for more info.

SendFocusWin
Sends keystrokes to the window that has the focus. Click here for more info.

SendLabel
Specifies the mailing labels to which keystrokes get sent. Click here for more info.

SendCopyDataMessage
Sends a WM_COPYDATA message. Click here for more info.

SendMessage
Sends a message to a window with the system SendMessage() command. Click here for more info.

SendPC
Identifies the PC to which instructions get sent. Click here for more info.

SendTo
Specifies the mailing labels to which keystrokes get sent. Click here for more info.

SendRegisteredMessage
Sends or posts a registered message to a window. Click here for more info.

SendWin
Specifies window that will receive keystrokes and mouse clicks. Uses Windows's SendInput command. Click here for more info.

SendWinM
Variant of SendWin. Designed to send keystrokes to background windows. Click here for more info.

SendWinMF
Variant of SendWin. Tries even harder than SendWinM to send keystrokes to background windows. Click here for more info.

SendWinS
Variant of SendWin. Designed to send keystrokes to background windows. Click here for more info.

SendWinSF
Variant of SendWin. Tries even harder than SendWinS to send keystrokes to background windows. Click here for more info.

SendWinX
Variant of SendWin. Designed to send keystrokes to background windows. Click here for more info.

SetActiveWin
Activates the currently targeted window. Click here for more info.

SetActiveBackgroundWin
Activates the currently targeted window without changing Z order. Click here for more info.

SetActiveWindowTracking
Enables, disables, or toggles active window tracking (also known as "activation follows mouse"). Click here for more info.

SetActiveWindowTrackingDelay
Sets the active window tracking delay. Click here for more info.

SetAffinity
Sets the CPU affinity of the process that created the currently targeted window. Click here for more info.

SetBackgroundFocus
This command can sometimes force a background window to accept keystrokes and mouse clicks. Click for more info.

SetBackgroundFocusDelays
Sets the length of two delays that are used internally by SendWinMF. Click here for more info.

SetButtonColors
Sets the background and text colors of a button. Click here for more info.

SetButtonCommand
Assigns a command to a button so you can trigger the command by left-clicking the button. Click here for more info.

SetButtonHotkey
Assigns a hotkey to a button so you can trigger the hotkey by left-clicking the button. Click here for more info.

SetButtonStyle
Changes a button's appearance. Click here for more info.

SetButtonText
Sets the background and text colors of a button. Click here for more info.

SetFocus
Gives the keyboard focus to the currently targeted window.   Click here for more info.

SetFocusWin
Gives the keyboard focus to the currently targeted window.   Click here for more info.

SetForeground
Brings the currently targeted window to the foreground. Click here for more info.

SetForegroundWin
Brings the currently targeted window to the foreground. Click here for more info.

SetFramelessWinSizeWithSimulatedMouse
Changes the size of the currently targeted window. This command is rarely needed. See remarks. Click here for more info.

SetGamma
Adjusts the monitor's gamma (brightness and contrast). Click here for more info.

SetLocal
Overrides a global setting for an individual hotkey. Click here for more info.

SetPanelDrag
Changes a panel's appearance. Click here for more info.

SetPanelLayout
Makes a panel automatically arrange the locations and sizes of its buttons according to your instructions. Click here for more info.

SetPanelPicture
Specifies a picture for a panel's background. Click here for more info.

SetPanelStyle
Changes a panel's appearance. Click here for more info.

SetPriority
Sets the priority class of a process. Click here for more info.

SetSendMode
Sets options that determine how keystrokes are sent. Click here for more info.

SetTaskbarAlwaysOnTop
Enables, disables, or toggles the operating system's "taskbar always on top" setting. Click here for more info.

SetTaskbarAutoHide
Enables, disables, or toggles the operating system's "auto-hide taskbar" setting. Click here for more info.

SetToggle
Sets a hotkey's toggle to a specified number. Click here for more info.

SetVar
Sets the value of a runtime variable (and creates the variable if necessary). Click here for more info.

SetWinFrame
Sets or removes frame styles for the currently targeted window. Click here for more info.

SetWinOpacity
Sets the opacity of a window (including its contents). Click here for more info.

SetWinPos
Moves the currently targeted window to a new location. Click here for more info.

SetWinRect
Moves the currently targeted window to a new location and changes its size. Click here for more info.

SetWinRedraw
Makes a window stop or start redrawing itself. Click here for more info.

SetWinRegion
Makes a transparent hole in the currently targeted window. Click here for more info.

SetWinSize
Changes the size of the currently targeted window. Click here for more info.

ShowWin
Shows (makes visible) the currently targeted window. Click here for more info.

TargetButton
Sets the targeted window. Use this command when the target is a button. Click here for more info.

TargetChild
Sets the targeted window. This is the window to which keystrokes and mouseclicks get sent. Click here for more info.

TargetForegroundWin
Targets whichever window is in the foreground. Click here for more info.

TargetWin
Sets the targeted window. This is the window to which keystrokes and mouseclicks get sent. Click here for more info.

TargetWinFromRegisteredMessage
Sends a registered message to all top-level windows and targets the first window that returns "TRUE." Click here for more info.

Template
Identifies the start of a chunk of text in a script which will be copied with macro substitutions. Click here for more info.

Text
Types text in a window.. Click here for more info.

ThirdPartyCommandLine
Allows you to enter commands to HotkeyNet using a text-entry field in a third-party program. Click here for more info.

Toggle
Makes a hotkey do different things each time you press it. Click here for more info.

ToggleHotkeys
Turns hotkeys off and on. Click here for more info.

ToggleWin
Each time you press this, a different window is brought to the foreground. Click here for more info.

%Trigger%, %TriggerMainKey%
Gets replaced by the key combination that triggers the hotkey. Click here for more info.

TurnCapsLockOff
Turns CapsLock off. Click here for more info.

TurnHotkeysOff
Turns hotkeys off. Click here for more info.

TurnHotkeysOn
Turns hotkeys on. Click here for more info.

TurnLockKeysOff
Turns lock keys (CapsLock, NumLock, ScrollLock) off. Click here for more info.

UnloadScript
Removes a script and all its definitions from HotkeyNet's memory. Click here for more info.

UpdateWin
Asks a window to redraw itself. Click here for more info.

UseKeyAsModifier
Designates a key that will be used as a modifier in hotkey triggers. Click here for more info.

Wait
Pauses for specified number of milliseconds. Click here for more info.

WaitForInputIdle
Waits until the currently targeted window is waiting for user input with no input pending. Click here for more info.

WaitForWin
Waits for a window to open. Click here for more info.

WaitForWinEnabled
Waits until the currently targeted window is enabled. Click here for more info.

This page was last revised on July 10, 2010
        
INSTRUCTIONS


REFERENCE


OTHER STUFF


WORLD OF WARCRAFT