Page 1 of 2
Color Choser
Posted: Mon Feb 15, 2021 9:48 am
by trevix
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
Re: Color Choser
Posted: Mon Feb 15, 2021 10:10 am
by richmond62
How did you open the Color Chooser in the first place?
Re: Color Choser
Posted: Mon Feb 15, 2021 10:56 am
by trevix
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.
Re: Color Choser
Posted: Mon Feb 15, 2021 11:08 am
by richmond62
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.
Re: Color Choser
Posted: Mon Feb 15, 2021 11:39 am
by trevix
You are correct. But sometimes, you know, I just doubleckick on things.
Any suggestion on why it keeps opening? (reinstall LC?)
Thank you
Re: Color Choser
Posted: Mon Feb 15, 2021 5:09 pm
by FourthWorld
Could "answer color" be the solution you're looking for?
Re: Color Choser
Posted: Mon Feb 15, 2021 5:24 pm
by trevix
"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.
Re: Color Choser
Posted: Mon Feb 15, 2021 5:36 pm
by dunbarx
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
Re: Color Choser
Posted: Mon Feb 15, 2021 5:38 pm
by richmond62
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 . . .
Re: Color Choser
Posted: Mon Feb 15, 2021 5:42 pm
by richmond62
"answer color" produces (on macOS 11, at least) the system native color chooser:
-
-
Which is something quite different from what the OP is refering to:
-
-
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.
Re: Color Choser
Posted: Mon Feb 15, 2021 5:44 pm
by trevix
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
Re: Color Choser
Posted: Mon Feb 15, 2021 5:46 pm
by richmond62
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.
Re: Color Choser
Posted: Mon Feb 15, 2021 5:57 pm
by bogs
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:
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.
Re: Color Choser
Posted: Mon Feb 15, 2021 6:26 pm
by richmond62
the app i am working on has 14 substacks, so the last thing I needed was a more crowded Project Browser.
WELL:
-
Deselect that.

Re: Color Choser
Posted: Tue Feb 16, 2021 12:53 am
by dunbarx
Hmm.
I never used the "answer color" command before. I think I will shy away from it.
Craig