Hi all,
How do I retrieve text from a specific window?.  I am trying to retrieve the 
status line information from notepad using windowsXP, The status window has a 
control Id of 1025, but I can't get anything to work with this in the Immed 
window.  I tried the following lines of code in immed,  using the Clips object 
and this worked only whilst the cursor was at line 1 column 1. Lines of 
VBScript from immed:

Set x = ActiveWindow.Children
Set c = x.Item(3).Clips
print c.count ' output
1
Speak c.Item(1)
output
When on first line first column "LN1 column 1".  I don't really want to use the 
clips object as I have a window control Id.
Warm regards.
Martin Webster.









Reply via email to