Use a batch file, and use the FIRST commandline option to send subsequent commands to the first instance.
Note that when this becomes complicated you are better to move to using windows scripting files eg javascript or vbscript, and controlling Realterm through the ActiveX interface.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Shift to using the activeX interface, you get a handle for each instance as you crate it, and you have better control.
Windows scripting is actually pretty good - better than batch files!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The command line interface (sending to FIRST) sends to the realterm with the same CAPTION / Window Title.
So if you have several Realterms with different CAPTION, you can control them separately:
So start two different copies of RT...
realterm caption="Realterm #1"
realterm caption="Realterm #2"
and talk to them separately....
realterm caption="Realterm #1" FIRST DTR=1
realterm caption="Realterm #2" FIRST DTR=0
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=138887
Originator: NO
Use a batch file, and use the FIRST commandline option to send subsequent commands to the first instance.
Note that when this becomes complicated you are better to move to using windows scripting files eg javascript or vbscript, and controlling Realterm through the ActiveX interface.
Logged In: YES
user_id=846649
Originator: YES
Is there a way to send commands to a specific instance of RealTerm ? eg: by processs ID ?
I would need to send command to multiples Realterm that are running at the same time.
Thanks,
Sam
Logged In: YES
user_id=138887
Originator: NO
Shift to using the activeX interface, you get a handle for each instance as you crate it, and you have better control.
Windows scripting is actually pretty good - better than batch files!
The command line interface (sending to FIRST) sends to the realterm with the same CAPTION / Window Title.
So if you have several Realterms with different CAPTION, you can control them separately:
So start two different copies of RT...
realterm caption="Realterm #1"
realterm caption="Realterm #2"
and talk to them separately....
realterm caption="Realterm #1" FIRST DTR=1
realterm caption="Realterm #2" FIRST DTR=0
Problems with sending to first instance in Win7 resolved in V3.0.0.24.
See help realterm.sf.net