UserInteraction user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPISys.au3>.

 

User Defined Function Description
_WinAPI_ActivateKeyboardLayout Sets the input locale identifier for the calling thread or the current process
_WinAPI_DefRawInputProc Calls the default raw input procedure to process the raw input messages that an application does not process
_WinAPI_EnumRawInputDevices Enumerates the raw input devices attached to the system
_WinAPI_GetActiveWindow Retrieves the window handle to the active window attached to the calling process's message queue
_WinAPI_GetIdleTime Retrieves the time that has elapsed since the last input
_WinAPI_GetKeyboardLayout Retrieves the active input locale identifier for the specified window
_WinAPI_GetKeyboardLayoutList Retrieves the all input locale identifiers corresponding to the current set of input locales in the system
_WinAPI_GetKeyboardState Copies the status of the 256 virtual keys to the specified buffer
_WinAPI_GetKeyboardType Retrieves information about the current keyboard
_WinAPI_GetKeyNameText Retrieves a string that represents the name of a key
_WinAPI_GetKeyState Retrieves the status of the specified virtual key
_WinAPI_GetRawInputBuffer Performs a buffered read of the raw input data
_WinAPI_GetRawInputBufferLength Retrieves the required buffer size to call the _WinAPI_GetRawInputBuffer() function
_WinAPI_GetRawInputData Retrieves the raw input from the specified device
_WinAPI_GetRawInputDeviceInfo Retrieves information about the raw input device
_WinAPI_GetRegisteredRawInputDevices Retrieves the information about the raw input devices for the current application
_WinAPI_IsLoadKBLayout Determines whether the specified input locale loaded into the system
_WinAPI_IsWindowEnabled Determines whether the specified window is enabled for mouse and keyboard input
_WinAPI_Keybd_Event Synthesizes a keystroke
_WinAPI_LoadKeyboardLayout Loads a new input locale identifier into the system
_WinAPI_MapVirtualKey Translates a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code
_WinAPI_RegisterHotKey Defines a system-wide hot key
_WinAPI_RegisterRawInputDevices Registers the devices that supply the raw input data
_WinAPI_SetActiveWindow Activates the specified window
_WinAPI_SetKeyboardLayout Sets an input locale identifier to the specified window
_WinAPI_SetKeyboardState Copies a 256-byte array of keyboard key states into the calling process's keyboard input-state table
_WinAPI_TrackMouseEvent Posts messages when the mouse pointer leaves a window or hovers over a window for a specified amount of time
_WinAPI_UnloadKeyboardLayout Unloads an input locale identifier
_WinAPI_UnregisterHotKey Frees a hot key previously registered by the calling thread