LGBT rainbow colours

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10094
Joined: Fri Feb 19, 2010 10:17 am

LGBT rainbow colours

Post by richmond62 » Sat Apr 12, 2025 7:41 am

I wonder about 2 things:

1. Can one do this sort of thing (pseudocode ?):

Code: Select all

put the script of button "Bomb" into field "Cheese"
2. IF #1 is possible will it retain the colourisation from the script editor?

IF #2 is NOT possible how can I apply script colourisation to script bits in a standard text field?

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10094
Joined: Fri Feb 19, 2010 10:17 am

Re: LGBT rainbow colours

Post by richmond62 » Sat Apr 12, 2025 8:12 am

Damn: no gay parade. :?
-
Screenshot 2025-04-12 at 10.11.31.png

Klaus
Posts: 14189
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LGBT rainbow colours

Post by Klaus » Sat Apr 12, 2025 10:01 am

Hi Richmond,

this affords 2 steps!

Code: Select all

...
put the script of button "Bomb" into field "Cheese"
_internal script colorize char 1 to (the number of chars of field "Cheese") of field "Cheese"
...
That should do the trick.
See also: viewtopic.php?f=7&t=39491, where you had replied! 8)

Best

Klaus

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10094
Joined: Fri Feb 19, 2010 10:17 am

Re: LGBT rainbow colours

Post by richmond62 » Sat Apr 12, 2025 10:10 am

That is beyond marvellous!

Where does one find out about internal scripts?

Klaus
Posts: 14189
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LGBT rainbow colours

Post by Klaus » Sat Apr 12, 2025 10:15 am

And only four months ago...

Klaus
Posts: 14189
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LGBT rainbow colours

Post by Klaus » Sat Apr 12, 2025 10:16 am

richmond62 wrote:
Sat Apr 12, 2025 10:10 am
Where does one find out about internal scripts?
These are undocumented features, so the answer is "nowhere".

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10094
Joined: Fri Feb 19, 2010 10:17 am

Re: LGBT rainbow colours

Post by richmond62 » Sat Apr 12, 2025 10:31 am

Well, you have either got a hotline to God, or you spend all your time digging through the IDE. 8)
-
Screenshot 2025-04-12 at 12.12.23.png

Klaus
Posts: 14189
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LGBT rainbow colours

Post by Klaus » Sat Apr 12, 2025 10:57 am

I've just a memory like an elephant. :-)

Have read this on the mailinglist some years ago, but could remember
that I already answered this question here a couple of months ago.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10094
Joined: Fri Feb 19, 2010 10:17 am

Re: LGBT rainbow colours

Post by richmond62 » Sat Apr 12, 2025 2:16 pm

I wonder, re the old open source version, how one can 'open' things up to find other undocumented stuff that is as useful as that?

December last year: viewtopic.php?f=7&t=39491&p=232800&hili ... pt#p232800
Last edited by richmond62 on Sat Apr 12, 2025 3:09 pm, edited 1 time in total.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10315
Joined: Wed May 06, 2009 2:28 pm

Re: LGBT rainbow colours

Post by dunbarx » Sat Apr 12, 2025 3:05 pm

There are threads about undocumented native words. Do a search for "messagemessages"

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10094
Joined: Fri Feb 19, 2010 10:17 am

Re: LGBT rainbow colours

Post by richmond62 » Sat Apr 12, 2025 6:26 pm

Indeed: viewtopic.php?f=9&t=39085&p=229683&hili ... es#p229683

But those clever stacks ONLY allow you to search for terms you already know (exactly the same sort of problem as the Dictionary).

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10315
Joined: Wed May 06, 2009 2:28 pm

Re: LGBT rainbow colours

Post by dunbarx » Sat Apr 12, 2025 11:00 pm

Richmond.

Exactly, which is why I wondered why a list of undocumented native words was so mysteriously unavailable. I bet such a list likely contains gold. The "messageMessages" has come in wildly useful now and then.

Craig

Post Reply