send a terminal 'screen' a command from another - WeOnlyDo Discussion board

send a terminal 'screen' a command from another (wodTelnetDLX)

by Richard, Saturday, March 26, 2005, 01:46 (7180 days ago)

I have a new really, really hard one for ya now ;)

my previous 'screen' command.
suppose I have 12 'screen'(s) open in your terminal connection like I previously stated....now, from the screen I'm log'd on (in front of me visable) I'd like to send all my console or even one 'screen' a command as a duplicate to this screen I see....

so lets say maybe we might try something simple and send ALL 'screens' a command like : ls -al wrong forum your thinking right? heheh
thanks in advance, I'm eager to challenge your inteligence now :P
btw, it can be in any script, however vb would be prefered.

tip...even if its via *id* etc... ;)

Re: send a terminal 'screen' a command from

by wodSupport, Sunday, March 27, 2005, 09:38 (7179 days ago) @ Richard

Richard,

yes, wrong forum :)

But I guess you can make for..next loop, call .SetFocus on each screen, use SendKeys as you used them, and proceed with next element in the loop. I guess this is only choice, isn't it?