>>> hi,i jst tried with AutoHotKey....
No, its not correct.
The correct code can only be made if I have installation of WindRiver which I don't have.
Ok, let me explain this shortly.
First Ill assume that title of the IDE starts with "WindRiver" word.
WindRiver must hold the text in some standard window control somehwere in its control hierrachy. The type of the control that is in question directs the way how can u grab the text from it. If it is ListView or ListBox for instance, you have to use
ControlGet, outputVar, List,, SysListView321, WindRiver
The above code means, "get me text of first SysListView32 control (hence 1 at the end) from application which title starts with 'WindRiver', and put it in ouputVar variable"
If it keeps in Edit box, you can simply do:
ControlGetText, OutputVar, Edit1, WindRiver
This means "get me content of first Edit control inside application with title WindRiver"
In order to get the type and number of control in question, simply open Window Spy (right click AHK tray icon) and hover over control with mouse to see its details.
The entire scripts will look like:
Run, d:\WIndriver ....
WinWaitActive, WindRiver
ControlGetText, OutputVar, Edit1, WindRiver
MsgBox %OtputVar%
If title of window is changing constantly you will have to use window class instad title to identify window. For instance you can target notepad as
ControlGetText, o, Edit1, Untitled
or
COntrolGetText, o, Edit1, ahk_class Notepad
First method uses window title, second one uses Window API class of the application which is better as title can change.
All in all, to get a bit fluent with AHK check out start up examples. I can ashure you that after several days of practice you will find yourself adjusting any application out there to your needs.
To see how powerfull AHK is and what amazing things can be done in it, check out Dock module.
There is no way you can do this in batch and using std redirection, so you better get used to AHK or some similar atuomation language (AutoIt, Phantom, WinRunner....). BTW, this kind of quetsion is usualy answered in a matter of hours on AHK community Ask For Help forum.