Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ VBscript
➜ Default Output Colour
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Twrx
(5 posts) Bio
|
| Date
| Thu 22 May 2003 01:43 PM (UTC) |
| Message
| How to get default colours of outputwindow ?
world.getoption ("output_text_colour") and
world.getoption ("output_background_colour") ?
How to hide StatusLine from a sub ?
World.ShowStatusBar, vbFalse would be nice :)
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 22 May 2003 08:42 PM (UTC) |
| Message
| The default output colour is normally ANSI white on black. You can find what these colours actually are with:
http://www.gammon.com.au/scripts/function.php?name=NormalColour
eg.
textcolour = world.NormalColour (8) ' white
backcolour = world.NormalColour (1) ' black
Do emulate what clicking on the "status bar" item in the View Menu does, you could use:
world.DoCommand "viewstatusbar"
However there are a couple of problems with that. The first is, it isn't implemented until version 3.43, the second is you won't know whether or not the status bar is already visible, so if it is invisible that command would toggle it, and thus show it.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,939 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top