|
hellojack Newbie
Joined: 27 Mar 2006 Posts: 6
|
Posted: Tue Mar 28, 2006 10:15 am
Can I run 2 Zmud Programs at the same time? |
For I need to send a command to some of the tabs by "#all", and send another command to other tabs. So if I can run 2 Zmud programs, it'll be very convenient.
Thanks! |
|
|
|
Darker GURU
Joined: 24 Sep 2000 Posts: 1237 Location: USA
|
Posted: Tue Mar 28, 2006 2:06 pm |
You don't need two zMUDs. Just create an alias for sending a command to one set of windows, and a different alias for sending a command to a separate set of windows.
|
|
_________________ Darker
New and Improved, for your Safety. |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Mar 28, 2006 2:12 pm |
To send things to all your windows you can use something like this:
#forall %names {:%i:#ECHO Test}
To send things to your two main windows first give them a name:
#NAME MainOne
and in the other's command line:
#name MainTwo
Now you can send things to both windows:
#ALIAS doall {:MainOne:%-1;:MainTwo:%-1}
which you can use like:
doall kill mad hatter |
|
|
|
|
|