Skrip Posted July 17, 2006 Share Posted July 17, 2006 2 scripts "talk" sending information to one another. Like if in script 1 $msg = 1 and in script 2 $msg = 0 then script 1 will send the $msg varible to script 2, then in script 2 $msg = 1 Is it possible to make this? If so, please explain.... [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left] Link to comment Share on other sites More sharing options...
ivan Posted July 17, 2006 Share Posted July 17, 2006 (edited) I did something like this recently using the i/o capability and the console.take a look at the thread:http://www.autoitscript.com/forum/index.ph...st&p=200498This link seems to be broken, I'll try again below:http://www.autoitscript.com/forum/index.ph...st&p=200498I also send you a link to the files:http://www.autoitscript.com/forum/index.ph...ost&id=9499Hope this helpsIVAN Edited July 17, 2006 by ivan Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3 Link to comment Share on other sites More sharing options...
ivan Posted July 17, 2006 Share Posted July 17, 2006 I still get a broken link. I entitled the topic as "input/output, applications that communicate with each other" do a search in v3 Support and it'll find it for you. I've had nobody interested in the subject, so I'm really keen to get this boosted. IVAN Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3 Link to comment Share on other sites More sharing options...
ivan Posted July 17, 2006 Share Posted July 17, 2006 The above only works if the 1st app runs the second. If this is not the case, then you can always get app1 to write a txt file somewhere like temp directory and app2 to read that file's contents. This involves reading writing which makes the entire thing inefficient. It's a lot better to rely on the console and i/o. IVAN Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3 Link to comment Share on other sites More sharing options...
Blue_Drache Posted July 17, 2006 Share Posted July 17, 2006 If I'm reading correctly, use the ConsleWrite() and ConsoleRead() functions? Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 17, 2006 Share Posted July 17, 2006 Just use an INI file where both can access it. Link to comment Share on other sites More sharing options...
ending Posted July 17, 2006 Share Posted July 17, 2006 (edited) There are a number of ways you can do this as you've seen from the number of suggestions. INI Any kind of data file that you parse out Registry Console TCPSend/Recv -- If you will for sure have a network connection The best option I think would be ConsoleRead/Write. Edited July 17, 2006 by ending Link to comment Share on other sites More sharing options...
Skrip Posted July 18, 2006 Author Share Posted July 18, 2006 Thanks Ivan, works great. [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left] Link to comment Share on other sites More sharing options...
ivan Posted July 18, 2006 Share Posted July 18, 2006 Glad to be able to help someone. I usually am on the requesting dire assistance side of things. IVAN Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3 Link to comment Share on other sites More sharing options...
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