|
RobAMacAF Beginner
Joined: 24 Nov 2005 Posts: 19
|
Posted: Fri Nov 25, 2005 6:34 am
Clearing a window |
How do I go about clearing a window of text? I have a script that captures what skills I need but instead of having it post there EVERY time I ask and have a big long list I want it to clear it when I ask so only 1 instance of asking is in the new window.
Thank you |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Nov 25, 2005 7:00 am |
#CLR. If being used from another window, the syntax you will need will be :windowname:#CLR.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Fri Nov 25, 2005 6:41 pm |
As a collorary you can do something like:
#ALIAS doclear {#FORALL %names {:%i:#CLR}} |
|
|
|
Gwino Newbie
Joined: 18 Aug 2013 Posts: 1
|
Posted: Tue Oct 15, 2013 1:27 pm Tried easier way |
TonDiening wrote: |
As a collorary you can do something like:
#ALIAS doclear {#FORALL %names {:%i:#CLR}} |
I found that #CLR support argument (window name) so you can try:
#ALIAS docclear {#FORALL %names {#CLR %i}}
I tried and CMUD does not recognize %i after ":" but works using %i as argument for #CLR command
I think for zMud is the same
i Apologize for my bad english
Andrea |
|
|
|
|
|