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
➜ General
➜ Sending text from a MUD to a notepad while preserving the color
Sending text from a MUD to a notepad while preserving the color
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Hautbois
USA (16 posts) Bio
|
Date
| Mon 18 Jul 2005 08:23 AM (UTC) |
Message
| I was just wondering if someone could assist me in creating a script that would send text from the mud to a seperate window and preserve the color of the text in that window.
I already have some triggers set up that will send the desired text to a notepad window, however, only text is sent, no color.
I have seen other posts on this forum that show how to designate colors for notepad windows. The problem is that I don't know how to incorporate the scripting, nor do I see any way of creating lines in a notepad window that have multiple text colors. As in, part of a line being one color (a channels primary color) and the rest being another color (a channels secondary color).
Any assistance would be greatly appreciated. | Top |
|
Posted by
| tobiassjosten
Sweden (79 posts) Bio
|
Date
| Reply #1 on Tue 19 Jul 2005 04:26 PM (UTC) |
Message
| As far as I know, the notepad windows only handles one color at a time. You can, ofcourse, assign that color yourself.
The syntax for this is:
long NotepadColour(BSTR Title, BSTR TextColour, BSTR BackgroundColour)
|
Simplicity is Divine | http://nogfx.org/ | Top |
|
Posted by
| Hautbois
USA (16 posts) Bio
|
Date
| Reply #2 on Tue 19 Jul 2005 05:10 PM (UTC) |
Message
| Okay, so then is there anyother way of having MUSHclient open up a window that is capable of using more than one color? (i.e. not using a notepad window, but rather some other type?)
Otherwise, thank you for the information. | Top |
|
Posted by
| Hautbois
USA (16 posts) Bio
|
Date
| Reply #3 on Wed 20 Jul 2005 01:17 AM (UTC) |
Message
| Okay, I was just browsing through the forums and I saw something akin to what I want...
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4286
This idea of an additional window is exactly what I was wanting to do, as it seems this would be capable of pulling text (with color and all) from the output and displaying it.
Does anyone know if this is being explored? or if there is someway to do something like this already? | 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.
14,753 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top