JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   JCS & Scripting (http://www.jazz2online.com/jcf/forumdisplay.php?f=5)
-   -   Not-so-randomly-colored Text (http://www.jazz2online.com/jcf/showthread.php?t=15805)

JanusJackrabbit Aug 20, 2006 08:58 PM

Not-so-randomly-colored Text
 
How do you make a text string a single color? Also, it would be helpful if someone told me what symbol generated particular colors.

Stijn Aug 20, 2006 10:31 PM

because the | (pipe) is not shown in text strings but does alternate the color, you can make 2 characters the same color by doing something like

Code:

§1#|h||||||||i
->

Code:

hi
The §1 is there because the pipe does increase the space between characters a bit.

JanusJackrabbit Aug 21, 2006 08:23 AM

..Ok. So how do you generate that symbol? I understand that the pipe character skips colors, but it seems so tedious to do it to each letter =(

minmay Aug 21, 2006 09:49 AM

Quote:

Originally Posted by JanusJackrabbit
..Ok. So how do you generate that symbol?

Character map, anyone?

Quote:

Originally Posted by JanusJackrabbit
I understand that the pipe character skips colors, but it seems so tedious to do it to each letter =(

Live with it; there's no other way.

cooba Aug 21, 2006 10:44 AM

Quote:

Originally Posted by Stijn
Code:

§1#|h||||||||i
->

Code:

hi

Code:

§1#|||h|||||||i
->

Code:

hi

Code:

§1#|h||||||||i
->

Code:

hi

DarkSonic Aug 21, 2006 10:47 AM

Quote:

Originally Posted by JanusJackrabbit
..Ok. So how do you generate that symbol? =(

Shift + Alt + S.

And if you use # you will get text with different colors.

cooba Aug 21, 2006 10:49 AM

Quote:

Originally Posted by DarkSonic
Shift + Alt + S.

That doesn't work on all language settings it seems. At least not on US English.

blurredd Aug 21, 2006 10:55 AM

You can hold Alt key then press 789 to get the § character. Also, you can copy the 7 pipes you need for single colors, write the text you want, paste right before one of the first letters, hit the right arrow, then do those last two things for the rest of the letters. That's about the quickest way I can think of assuming you haven't tried it already. But just so you know, you're not going to be able to write a whole lot of text in one color.

JanusJackrabbit Aug 21, 2006 11:37 AM

Ok, then. Thanks.

SPAZ18 Aug 22, 2006 05:16 AM

Quote:

Originally Posted by Cooba
That doesn't work on all language settings it seems. At least not on US English.


Will it work on UK English?

NovaStar Aug 23, 2006 02:33 AM

Australia English? ;o

SPAZ18 Aug 23, 2006 06:00 AM

Not working on UK English. :(

cooba Aug 23, 2006 06:08 AM

Just use Alt+789...

jam Aug 23, 2006 08:27 AM

If it doesn't work, try Alt+21

SPAZ18 Aug 23, 2006 08:48 AM

Alt + 789?
Alt + 21?
Do you mean I need to press Alt and those numbers all at once? I had a look for that symbol on MS Word and the Shortcut Key was Alt + 0167. :confused:

CrimiClown Aug 23, 2006 09:04 AM

Quote:

Originally Posted by SPAZ18
Alt + 789?
Alt + 21?
Do you mean I need to press Alt and those numbers all at once? I had a look for that symbol on MS Word and the Shortcut Key was Alt + 0167. :confused:

You need to press AND HOLD the left Alt and then use the Numpad for the numbers (on the right of the keyboard). Press the numbers in the order they are displayed, for example:

Alt+789 =

(Hold Left Alt) - Press 7 on Numpad
(Hold Left Alt) - Press 8 on Numpad
(Hold Left Alt) - Press 9 on Numpad

Make sure Numlock is on.

Now anyone could understand it... I think.

blurredd Aug 23, 2006 09:13 AM

Quote:

Originally Posted by SPAZ18
Alt + 789?
Alt + 21?

You could also use Alt + 281474976710677

Apparently any multiple of 256 plus 21 can be used to get the § symbol--a useless fact that's almost interesting. Just use whatever's the most convenient.

SPAZ18 Aug 24, 2006 02:15 AM

YES!! I got it! §§§§§
It is Alt + 789 on my Keyboard. :D


All times are GMT -8. The time now is 06:10 AM.

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online