>>>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.
- 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.
If successful, returns an AHK wrapped IAccessible object.
- Retrieves the window handle that corresponds to an IAccessible object.- Parameters
Acc [in]- IAccessible object whose corresponding window handle will be retrieved.
If successful, returns a handle to the window containing the object specified in Acc.
- Retrieves the localized string that describes the object's role for the specified role value.- Parameters
Role [in]- One of the object role constants.
If successful, returns the role text string.
- Retrieves a localized string that describes an object's state.- Parameters
State [in]- One of the object state constants.
If successful, returns the state text string.
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
Event Constants:
Accessible Info Viewer
*Note - thread history can be found here