Jump to content
Sign in to follow this  
jezzzzy

Script communication

Recommended Posts

jezzzzy

Someone please point me in the direction of the proper way to have 2 scripts communicate with eachother. I have done this various ways. I have used an intermediary .ini or .txt file where one script adds a line and the other script reads it to find out what it's supposed to do. I have also used "net send" where one script sends a net send to another pc and then the script on that machine clicks the 'ok' button and performs some task based on the net send message. However, these methods are cumbersome. Can't I just send a message from one script to the other? I would rather the answer be a simple function that I have overlooked. But I think I could handle DCOM or something a little more complicated if someone could just give me a shove in the right direction.

Share this post


Link to post
Share on other sites
Helge

If you're using one of the latest beta you could check out

the TCP- or the UDP-functions.

Share this post


Link to post
Share on other sites
jezzzzy

Awesome. Experimenting with that now. I'm looking into the TCP fuction rather than the UDP one. Based on a what I have seen so far, this may be the "easy" solution I was looking for. I'm nearly certain this will work for my situation. Thank you.

Share this post


Link to post
Share on other sites
ChrisL

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.