Page 1 of 1
managing processes and stacks started by executables
Posted: Tue Jun 06, 2006 8:52 am
by lbtony
suppose I have two stacks by clicking on two standalone executable files. I want to use one stack to manage the other. So my question is, how can I send message from one to the other in this situation? How can I stop the other application using script?
Thank u......
Posted: Tue Jun 06, 2006 3:06 pm
by pevensen
Which platform are you suing? If Mac, you could try AppleScript.
Otherwise you could socket communication between the two. Look at open socket, write to socket, etc.
Posted: Tue Jun 06, 2006 6:47 pm
by Garrett
Or you could use a text file. Control program puts commands in the
text file, program you want to control reads the text file at regular
intervals for new commands from the control program.
It's not the best way to do such a thing, but works if there's no other
way to communicate between the two programs.
-Garrett
Posted: Wed Jun 07, 2006 8:35 am
by lbtony
Is there any scripting tool in Windows can let me send messages to runrev applications????
Posted: Wed Jun 07, 2006 2:33 pm
by Mark
You could make the two standalones communicate with each other through sockets.
Best,
Mark