richmond62 wrote: ↑Sat May 04, 2024 7:02 pm
Presumably those numbers refer to the relevant buttons on the ToolBar stack.
Yes, they are. I did mention that a bit further up with the debug stack.
The reason I'm referring them by ID and not name is because the revTools stack is generated by script (it's a script-only stack which is created dynamically). It does not help that as default, it creates buttons with the same names, so referring to them by ID as they are created is the easiest way to keep track of what is what. (which is what the debug stack above does).
richmond62 wrote: ↑Sat May 04, 2024 7:21 pm
It might be a lot easier to, initially have them set to some unchanging default colours
Yes, that would be lovely. Except I can't.
richmond62 wrote: ↑Sat May 04, 2024 7:21 pm
After all, if I can do this:
It should not be unduly difficult to set that via the buttons on the Tools palette.
You'd think so wouldn't you!
- not-logical.png (17.24 KiB) Viewed 8270 times
edit: so, instead of using an RGB value, I used the word "brown".
- this-is-not-brown.png (8.89 KiB) Viewed 8267 times
I'd say that OXT's / LCC's version of 'Brown' (which turns out to be 151,3,22 or #970316 is more red than brown). I'd consider '
Brown' to be 75,45,20 or #4b2d14 - but then colour perception is all relative I guess.
I then tried with 'green' and it is indeed green:
- still-nope.png (41.78 KiB) Viewed 8266 times
So I chose the brush colour picker. It's not green, so I don't know how it's setting that colour via the message box.
In theory, according to the dictionary, I should also be able to use:
But that doesn't work either.
But, irrespective of all that - I'm just trying to retrieve the initial brush and pen colours that the IDE is setting at startup:
- Screenshot_2024-05-04_22-24-37.png (23.62 KiB) Viewed 8257 times
(this is obviously wrong).
- Screenshot_2024-05-04_22-26-04.png (7.74 KiB) Viewed 8257 times
As is this - it returns nothing.
So, now I've come full circle on this post - this shows you what I was trying to explain initially (and failing to).
Here's another demo.
Start OXT and make a new stack. Don't pick any foreground / background colours. Just use the brush and pen.
Note the time (22:59). Close the stack without saving. Quit OXT.
Reopen OXT. Do the same again, make a new stack - don't pick any foreground / background colours. Just use the brush and pen as before. Note the time (23:00) - Different each time (why?)
- why.png (31.69 KiB) Viewed 8246 times
I had a random thought while writing this post, I mean - they are all shades of LC-green aren't they? So I wondered if that green colour was being set somewhere. As if to rub it in, I tried this again one last time to check I wasn't going mad:
- rub-it-in.png (6.74 KiB) Viewed 8243 times
So, seems that's that theory out of the window. I think I am indeed going mad
I mean, once you manually pick a foreground and background colour - then it's all rosy and everything seems to be logical from that point forward. It's just setting these at initial load that evades me, as the properties seem a bit unattainable at the moment.