Jump to content

send a string to another script


Recommended Posts

Hi,

I would like to know where to look at to have scripts communicating. I've check tcp and udpsend but maybe there is something more efficient and reliable. Basicaly I have a script_A running, doing some stuff, and sometimes I would have another script_B telling script_A to do something.

Another step would be to have script_A on one machine, and script_B on another one ! I ever use psexec, I know the session id of the user etc, and just would like to discuss between scripts without having to write in a txt file and the other to read this txt file, would be cumbersome for just a command or two per day. The first intend of script_A is not this, so it must be cpu low.

Thanks

Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79

Link to comment
Share on other sites

TCP/IP is the best way to communication between two machines. Search for server - client examples.

To send string from script A to script B you can use i. e. or

Edited by Ramzes

Sorry for my bad English but nobody is perfect. [font=arial, helvetica, sans-serif]Ramzes[/font]

Link to comment
Share on other sites

Yashied also has one to . And trancexx has one called that works very well.

Edited by Beege
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...