To get the text of the foreground window, you can do this:
Code: Select all
fg=getforegroundwindow_() : t$=Space(255) : getwindowtext_(fg,t$,255)
Code: Select all
fg=getforegroundwindow_() : getwindowtext_(fg,t$,255)
buffer for the text, but if it works without it, what's the problem?
PB - Registered PureBasic Coder
Edited by - PB on 27 March 2002 11:10:02
