Retrieves a text associated with the control (for example edited
text from EditBox).
$text = WMGetText( $hwnd );
-
$hwnd
Handle to the control
Text stored in the control
The function sends WM_GETTEXTLENGTH and then
WM_GETTEXT message to a control. Check MSDN documentation on those
messages.