Added in 1.2.2:
acGetClassName(hwndTarget, x, y) Parameters: hwndTarget: The handle to the desired window (if "nil", x and y will be used to get the window at those coordinates) x: If no hwndTarget is specified, this is gets the handle of the window at the x and y coordinates y: See above Returns: string Comments: Gets the class name of the window or control. Note that unlike other actions where X and Y return the OWNING window, this control returns the window at the point specified, so if the point of over a button, the button's class name will be returned. You can call acGetOwnerWindowByPoint() or acGetParentWindowByPoint() if you'd like to walk up the container hierarchy.
acGetExecutableName(hwndTarget, x, y) Parameters: hwndTarget: The handle to the desired window (if "nil", x and y will be used to get the window at those coordinates) x: If no hwndTarget is specified, this is gets the handle of the window at the x and y coordinates y: See above Returns: string Comments: Gets the name of the EXE which owns the window
|