paperlined.org
apps > autohotkey
document updated 15 years ago, on Dec 2, 2008
Chris has a policy of not documenting importrant caveats, because "users get confused by details" or some rubish like that.

It's best to note these caveats in teh wiki, but some additional details may be found below.

MouseGetPos

When faced with overlapping controls, MouseGetPos finds the control whose center is closest to the mouse cursor. This can be exceedingly unintuitive. (see EnumChildFindPoint() in script2.cpp)

If this is undesired, replace MouseGetPos with a DllCall to one of these: WindowFromPoint(), ChildWindowFromPoint(), ChildWindowFromPointEx(), RealChildWindowFromPoint().