RandomClown Posted November 8, 2010 Posted November 8, 2010 Hello,Was not sure how to begin, or what to search for, so here I am..How would I begin to make a program constantly read stuff from another program?Console Read does not seem to be it.I think console read only gets the launch parameters for the program.I want an active communication instead.============* Call the program I am coding "Program"* Call the program to communicate with "Server"Server will always be outputing data to console.I want Program to take data from the server, interpret each line, & send data or do stuff if it needs to.Ex:console: 2010-11-08 01:20:27 [iNFO] <RandomClown> rcon save testProgram will read this line, & backup the server data.console: 2010-11-08 01:20:40 [iNFO] <RandomClown> rcon load testProgram will send "stop" to the server, then restore the server data, & start the server again.Thanks for reading.
water Posted November 8, 2010 Posted November 8, 2010 Haven't done it myself ... but search the forum for "inter process communication" or "inter script communication" and you will find some threads that lead you into the right direction. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now