| View previous topic :: View next topic |
| Author |
Message |
afromonkey0
Joined: 13 Oct 2007 Posts: 24
|
Posted: Thu Jan 31, 2008 2:21 pm Post subject: Basic pipe into AHK script/exe |
|
|
I have an image analysis program that calculates two numeric variables (x and y coordinates) and has the ability to send data through a pipe protocol. I have tried passing the variables as arguments when running the script, but it's no good because I want to pass the variables to the script while it is running, not just at the start.
So is there a simple(ish) piece of code that will initiate a pipe, listen for two values and write those to variables?
Thanks in advance |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5390 Location: /b/
|
Posted: Thu Jan 31, 2008 2:26 pm Post subject: |
|
|
lexikos demonstrates how to use pipes in one of his threads. Perhaps you may find some useful information there. _________________
 |
|
| Back to top |
|
 |
afromonkey0
Joined: 13 Oct 2007 Posts: 24
|
Posted: Thu Jan 31, 2008 2:36 pm Post subject: |
|
|
Yeah I had a look at that script when i searched for 'pipe', but I don't really understand the code. The original script runs code you give it, without interacting with any other program right? But I just want to set variables. I'm sure it uses some of the same code but I can't work it out myself.
Thanks for the quick reply though. |
|
| Back to top |
|
 |
|