Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Script communication


  • Please log in to reply
3 replies to this topic

#1 jezzzzy

jezzzzy

    Adventurer

  • Active Members
  • PipPip
  • 140 posts

Posted 24 February 2006 - 01:43 PM

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.







#2 Helge

Helge

    Yup

  • Active Members
  • PipPipPipPipPipPip
  • 2,049 posts

Posted 24 February 2006 - 02:13 PM

If you're using one of the latest beta you could check out
the TCP- or the UDP-functions.

#3 jezzzzy

jezzzzy

    Adventurer

  • Active Members
  • PipPip
  • 140 posts

Posted 24 February 2006 - 03:18 PM

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.

#4 ChrisL

ChrisL

    Mass Spanner!

  • Active Members
  • PipPipPipPipPipPip
  • 1,757 posts

Posted 24 February 2006 - 03:45 PM

Have a look at my post http://www.autoitscript.com/forum/index.php?showtopic=22069




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users