Microsoft Active Accessibility (MSAA) is an Application Programming Interface (API) for user interface accessibility ... The programmatic goal of MSAA is to allow Windows controls to expose basic information, such as name, location on screen, or type of control, and state information such as visibility, enabled, or selected. - Wikipedia
>>>Download Acc Library<<<
NOTE: This library is an AHK version of some of the Active Accessibility Client Functions & IAccessible interface members. Statements in this post may be direct or slightly modified quotes from the MSDN Active Accessibility User Interface Services page.
Function List:
- Acc_ObjectFromEvent(OutputChildId, hWnd, idObject, idChild)
Acc_ObjectFromPoint([OutputChildId, x, y])
Acc_ObjectFromWindow(hWnd [, idObject=-4])
- Retrieves the specified interface for the object associated with the specified window.- Parameters
hWnd [in]- Specifies the handle of a window for which an object is to be retrieved.
idObject [in]- Specifies the object ID. This value is one of the standard object identifier constants (defaults to OBJID_CLIENT) or a custom object ID such as OBJID_NATIVEOM.
Return value
If successful, returns an AHK wrapped IAccessible object.
Acc_WindowFromObject(Acc)
- Retrieves the window handle that corresponds to an IAccessible object.- Parameters
Acc [in]- IAccessible object whose corresponding window handle will be retrieved.
Return value
If successful, returns a handle to the window containing the object specified in Acc.
Acc_GetRoleText(Role)
- Retrieves the localized string that describes the object's role for the specified role value.- Parameters
Role [in]- One of the object role constants.
Return value
If successful, returns the role text string.
Acc_GetStateText(State)
- Retrieves a localized string that describes an object's state.- Parameters
State [in]- One of the object state constants.
Return value
If successful, returns the state text string.
Acc_SetWinEventHook(eventMin, eventMax, pCallback)
Acc_UnhookWinEvent(hHook)
Acc_Role(Acc [, ChildId])
Acc_State(Acc [, ChildId])
Acc_Children(Acc)
Acc_Location(Acc [, ChildId])
Acc_Parent(Acc)
Acc_Child(Acc [, ChildId])
Acc_Query(Acc) - Parameters
Object Constants:
Event Constants:
Accessible Info Viewer
*Note - thread history can be found here




