Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a dialog box running at all

Status
Not open for further replies.

flea333

Technical User
Sep 4, 2003
47
US
I have a dialog box running at all times that will send commands to the terminal window. I need to constantly monitor the terminal window to see for changes manually made so that my dialog box can update itself. How can I constantly monitor the terminal window so I can parse the string and look for certain commands entered?
 
Is your script reading text that will always appear in the same location, such as a menu or display on the screen? If so, you could use termgets to read a string from a certain row and column on the screen.


aspect@aspectscripting.com
 
It's not in the same place always. I have a dialog box running, but the user can click to the terminal window and change an option manually. I want the dialog box to find out when some certain command was typed and update the dialog box.
 
To get a random string that the user types and the response to that may be difficult. If you are just trying to detect what users are doing outside of your script, you could make it modal so that they cannot click outside of it (to the main Procomm screen) and force them to do all the operations through the script.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top