Clear Console

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
ernpchan
Posts: 154
Joined: Thu Aug 13, 2015 7:18 pm
Contact:

Clear Console

Post by ernpchan »

Is it possible to clear the ASP Lua console?
My opinions and comments do not represent those of my employer.
http://www.ernestpchan.com
http://www.zazzle.com/gopuggo
User avatar
synthsin75
Posts: 9935
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Clear Console

Post by synthsin75 »

Just close it. It will be reset the next time it is invoked. Reloading scripts (ctrl+alt+shift+L) closes it too.
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Re: Clear Console

Post by rylleman »

But if you would like to clear it without closing? Is it possible?
Making a script which gives info in the console. Would like to present the data clean without all old info there.
User avatar
synthsin75
Posts: 9935
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Clear Console

Post by synthsin75 »

The console displays a limited number of lines, so you could probably print enough new lines "\n" to have your new output be the only thing showing. It would just have a lot of empty space above it, but the console should scroll down to the last output, so it shouldn't effect the end user.
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Re: Clear Console

Post by rylleman »

Thank's! It's a good workaround.
Post Reply