Color Choser

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Color Choser

Post by trevix » Mon Feb 15, 2021 9:48 am

A few weeks ago, I must have opened the "Color Choser" (from inside the package of LC 9.6.2rc2 ? I don't remember) in order to see how the conversion from RGB to HSB was made.
Since then, every time I launch the stack I am working in, I find the Color Choser stack in the Project Browser. Annoying...
How can I find where in my stack or in LC this gets opened? And get rid of it?
Thanks for any help
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Color Choser

Post by richmond62 » Mon Feb 15, 2021 10:10 am

How did you open the Color Chooser in the first place?

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Color Choser

Post by trevix » Mon Feb 15, 2021 10:56 am

After reading this:
https://use-livecode.runrev.narkive.com ... mmatically
I opened the revcolorchooser.rev (⁨LiveCode Indy 9.6.2 (rc 2).app⁩ ▸ ⁨Contents⁩ ▸ ⁨Tools⁩ ▸ ⁨Toolset⁩ ▸ ⁨palettes⁩) double clicking on it.
I went trough the code and closed it.
Note that after extensive search on my stacks, I did not find anything that refers to this stack.
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Color Choser

Post by richmond62 » Mon Feb 15, 2021 11:08 am

Well, that was an extremely long-winded way to open the color chooser in the first place,
and if one wants access to the thing in other ways than opening up the paint tools
at the botton of the revTools stack it is hopeless.

It would be useful if the color chooser stack were easily accessible via either a button
on the menuBar or in a drop-down menu.

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Color Choser

Post by trevix » Mon Feb 15, 2021 11:39 am

You are correct. But sometimes, you know, I just doubleckick on things.
Any suggestion on why it keeps opening? (reinstall LC?)
Thank you
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Color Choser

Post by FourthWorld » Mon Feb 15, 2021 5:09 pm

Could "answer color" be the solution you're looking for?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Color Choser

Post by trevix » Mon Feb 15, 2021 5:24 pm

"answer color" ?? I am not sure to understand.
I need to get rid of the stack "revcolorchooser" the keeps appearing on my project browser (not requested)
There must be a link that was setted somewhere, that opens it.
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9655
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Color Choser

Post by dunbarx » Mon Feb 15, 2021 5:36 pm

Not that I want to get into the same fix you find yourself, but I see no "color chooser" anywhere on my hard drive. Where was yours?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Color Choser

Post by richmond62 » Mon Feb 15, 2021 5:38 pm

keeps appearing on my project browser
Do you mean that the Color Chooser stack is listed in the Project Browser?
Because if you do, I cannot understand what the fuss is about: just ignore the thing.

If, however, you mean that is loads on the desktop each time you open LiveCode, well,
that is a pain . . .

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Color Choser

Post by richmond62 » Mon Feb 15, 2021 5:42 pm

"answer color" produces (on macOS 11, at least) the system native color chooser:
-
Screenshot 2021-02-15 at 18.40.33.png
-
Which is something quite different from what the OP is refering to:
-
Screenshot 2021-02-15 at 18.42.17.png
-
If the second palette is present on my desktop I can just send it away by clicking on the window close 'thing; in the
top corner of the palette window.

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Color Choser

Post by trevix » Mon Feb 15, 2021 5:44 pm

Do you mean that the Color Chooser stack is listed in the Project Browser?
Because if you do, I cannot understand what the fuss is about: just ignore the thing.
This is what happens: I ate not being in control of things.
Beside, the app i am working on has 14 substacks, so the last thing I needed was a more crowded Project Browser.
Oh well...I guess this is how it goes.
Thanks anyway.
Trevix
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Color Choser

Post by richmond62 » Mon Feb 15, 2021 5:46 pm

HOWEVER: now that I have done the "answer color" thing in the Message box,
every time I open LiveCode I get the system native color chooser loading, which is a big pain in the bum.

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Color Choser

Post by bogs » Mon Feb 15, 2021 5:57 pm

I wish I had an answer for you, trevix, but it is a mystery to me how it happens, I get the same thing with the rev printer dialog stack showing up whenever I use (a semi modern) version of Lc, such as 6.5. See picture below:

Image

I have no code in this project concerning a print dialog, I didn't ever open the print dialog, I never used print in a handler or directly, yet on making changes to the fields on certain cards, I find that print stack in the project for no apparent reason.

I close it and remove it from memory before saving, often times the project will reopen without it, but eventually it will show up again. I feel the aggravation, BELIEVE me, and this is not the only project this has happened in.
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Color Choser

Post by richmond62 » Mon Feb 15, 2021 6:26 pm

the app i am working on has 14 substacks, so the last thing I needed was a more crowded Project Browser.
WELL:
Screenshot 2021-02-15 at 19.24.59.png
-
Deselect that. 8)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9655
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Color Choser

Post by dunbarx » Tue Feb 16, 2021 12:53 am

Hmm.

I never used the "answer color" command before. I think I will shy away from it.

Craig

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”