GetWindowTextEx


 

GetWindowTextEx>window_title,text

 

Not supported in Macro Scheduler Lite.

 

Retrieves visible text in the specified window.  Unlike GetWindowText which works by accessing each object's published text property GetWindowTextEx uses lower level hooks to detect all text written to the screen and therefore is capable of capturing far more text.

 

The specified window is momentarily focused when the function is called.

 

GetTextInit must be called before this function will work.

 

NB: This function requires Windows 2000 or above.  It has no effect in Windows 95/98/NT.

 

Abbreviation: GWE

See also: GetTextAtPoint, GetTextInRect, WaitScreenText, GetTextInit, GetTextReset

 

Example:

 

GetTextInit

GetWindowTextEx>Document - WordPad,WordPadText