Hi i was just wondering if it was possible to make a script that clears all the text in a window instead of closing it, ive requested this from the developers a few times now and to no avail. i just wanna know if this is possible and if someone could make it as i would have no idea how to do it
Posts: 1622 Reputation: 50
36 / /
Joined: Jan 2006
RE: Clear Screen?
I think I can write you a script that when you type "/clear" then it will close the current window and open a new one, the only problem is that it will probably create an event in your chat logs and start it as if it is a new conversation not just follow on.
Here's a nice script which does exactly what markee suggested!
quote:Originally posted by markee
I think I can write you a script that when you type "/clear" then it will close the current window and open a new one, the only problem is that it will probably create an event in your chat logs and start it as if it is a new conversation not just follow on.
Download Clear Window (1.33 KB) Note: There's a time delay of 100 milliseconds between closing and re-opening the chat window, this is because it won't open else. If you think you can fix this issue, feel free to post your solution!
Attachment:Clear window.plsc (1.33 KB) This file has been downloaded 1142 time(s). This post was edited on 08-03-2006 at 01:04 PM by Matti.
Posts: 6073 Reputation: 57
39 / /
Joined: Oct 2003
RE: Clear Screen?
quote:Originally posted by Mattike
There's a time delay of 100 milliseconds between closing and re-opening the chat window, this is because it won't open else.
That will be dependent on the computer's speed btw.
quote:Originally posted by Mattike
Here's a nice script which does exactly what markee suggested!
quote:Originally posted by markee
I think I can write you a script that when you type "/clear" then it will close the current window and open a new one, the only problem is that it will probably create an event in your chat logs and start it as if it is a new conversation not just follow on.
Download Clear Window (1.33 KB) Note: There's a time delay of 100 milliseconds between closing and re-opening the chat window, this is because it won't open else. If you think you can fix this issue, feel free to post your solution!
If i were you. Upload him to the script database. (if you have not je done that)
There much people that search for that.
quote:Originally posted by Mattike
Here's a nice script which does exactly what markee suggested!
quote:Originally posted by markee
I think I can write you a script that when you type "/clear" then it will close the current window and open a new one, the only problem is that it will probably create an event in your chat logs and start it as if it is a new conversation not just follow on.
Download Clear Window (1.33 KB) Note: There's a time delay of 100 milliseconds between closing and re-opening the chat window, this is because it won't open else. If you think you can fix this issue, feel free to post your solution!
Funny, i was working on the same thing some days ago and stopped because my pc started acting up, i figured i needed a delay, and that i'd add it once i went online again. Now i see you did it
I haven't been active here in ages.
If you're wondering who i am, read my reputations. I used to make plugins, skins and spam the IRC channels here back in the good old days before Windows Live.
Función llamada: OnGetScriptMenu
Función llamada: OnEvent_MenuClicked
Error: 'Count' es nulo o no es un objeto.
Línea: 54. Código: -2146823281.
La función OnEvent_MenuClicked devolvió un error. Código: -2147352567