You can write to Windows Notepad for this purpose. In the job you can find Notepad Window using WindowFind. If it cannot be found you can then start it using Run statement. You can then activate the Notepad window and send keystrokes with the desired text using SendKeys statement. An alternative method is to write to a text file and then when the job finishes you can automatically restart Notepad with the file speicfied on the command line or have Notepad to reload the file. You can use WindowSendMessage or WindowPostMessage statement to send Notepad a WM_SCROLL message to have automatically scroll to the end of the file. : Sir, : We wrote a script for a job that will run 24 hours a day and seven days a : week. : We would like to show in a window messages so we would be able to follow : what the job is doing at any moment (tracing is already done in a file). : Messages will be user defined : What are the possibilities of 24x7 to solve this "problem" ? : Robbert de GROOT
|