Sign in to follow this  
Followers 0
RandomClown

Program Communication

2 posts in this topic

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 test

Program will read this line, & backup the server data.

console: 2010-11-08 01:20:40 [iNFO] <RandomClown> rcon load test

Program will send "stop" to the server, then restore the server data, & start the server again.

Thanks for reading.

Share this post


Link to post
Share on other sites



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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0