Hi list,

Today I spent a few hours trying to modify my copy of the SelectText
script to work in Visual Studio. I used the Immed script to try and get
text from the Visual Studio editor without any success.
Print focusedwindow.control.text yields nothing although this works in
other editors such as notepad. The NativeObjectModel property does not
work at all for vS.
After experimenting with the Children.FilterByName method I eventually
tried the following:
print ActiveWindow.Children.FilterByName("text editor")(1).Control.Text
This only yields "text editor" the same as the window name and type.
Is it possible to get and select text with the WE object model or should
I rather look at the Visual Studio object model for this functionality?
Thanks very much and especially to Jamal for the SelectText script. It
works everywhere except in VS editor. Also a big thank you for the Immed
script. A great testing tool

Regards.
Charles Steyn

Reply via email to