Page 1 of 1

[Granted] get "Dark Mode" state

Posted: 09 May 2019 13:25
by FluxTorpedoe
Hi’

Could it be possible to retrieve the Dark/Light state of the UI, eg via get("#316") or another mean?

This would enable scripters to set the desired mode without toggling it…

Thanks for your attention,

    Flux

Re: get "Dark Mode" state

Posted: 09 May 2019 14:16
by highend
savesettings to a tmp .ini file, getkey() to get it...

Re: get "Dark Mode" state

Posted: 09 May 2019 15:02
by klownboy
highend wrote: 09 May 2019 14:16 savesettings to a tmp .ini file, getkey() to get it...
Yeah, but I think command ID #316 would be an ideal candidate for SC "get" without having to do that malarkey. :)

Re: get "Dark Mode" state

Posted: 09 May 2019 15:40
by admin
malarkey... :)

Consider it done. :cup:

Re: get "Dark Mode" state

Posted: 09 May 2019 15:42
by highend
In that case I'd like to have it for all settings^^ :titter:

Re: get "Dark Mode" state

Posted: 09 May 2019 15:45
by admin
Well, I added two more on top of "Dark Mode" state. :)

Re: get "Dark Mode" state

Posted: 09 May 2019 15:52
by highend
all != two^^ :naughty:

Re: get "Dark Mode" state

Posted: 09 May 2019 16:00
by admin
It's two steps into the right direction.

Re: [Granted] get "Dark Mode" state

Posted: 11 May 2019 11:29
by FluxTorpedoe
Thank you very much Don! (and impressively fast…) :appl:

I still haven’t joined the Dark side for my everyday work (due to mismatching custom pane colors), but having a few dark "sessions" is quite a treat! (eg. for Photos, Movies…)

An updated Session Manager is on the way…

@highend, thanks for the tip about saving to a temporary ini (I’d forgotten it could be done!), could be useful in some cases/as a last resort.

Have a nice day, 8)
   Flux