Coder Social home page Coder Social logo

Comments (20)

Armin2208 avatar Armin2208 commented on May 17, 2024 3

@kcorax you know how life works haha

from windows-auto-night-mode.

Armin2208 avatar Armin2208 commented on May 17, 2024 2

@xtprion your are smart lol

from windows-auto-night-mode.

kcorax avatar kcorax commented on May 17, 2024 2

Just donated. More coming if you find a solution for this.

from windows-auto-night-mode.

kcorax avatar kcorax commented on May 17, 2024 2

Donated as promised

from windows-auto-night-mode.

Armin2208 avatar Armin2208 commented on May 17, 2024 1

Thanks for the idea and providing me the right Registry Key.
Sadly Office always reverts this Value back to the UserConfig.
I set it to 4, I start word, it's dark. I close Word, reopen it, again white and the value is set to 0.
I could block access, but when users can't change the theme anymore in the apps itself. 😭

from windows-auto-night-mode.

xtprion avatar xtprion commented on May 17, 2024 1

Well, what if you give us another option, so since user know that they'll lost access to change theme via apps itself, they will have an option to use it or not.

from windows-auto-night-mode.

VincentJoshuaET avatar VincentJoshuaET commented on May 17, 2024 1

Any update on this?

from windows-auto-night-mode.

udobehm avatar udobehm commented on May 17, 2024 1

It was awesome if the office theme would change too. Maybe some more keys/code needs to be changed in order the theme will not only change but also stay till your app would change it again. What does the Office support say to this?? Can they help you (easily) implementing this function?

from windows-auto-night-mode.

Armin2208 avatar Armin2208 commented on May 17, 2024 1

thanks for sharing @douglangille

from windows-auto-night-mode.

Armin2208 avatar Armin2208 commented on May 17, 2024 1

Is there something in this powershell script that might help? I hacked away at the scheduled tasks in ADM and made something workable based on this, but I have to deal with a PS window popping up. It'd be better in-app if at all possible.

https://www.cloudappie.nl/change-theme-officeproplus-powershell/

thanks to this site I was able to re-create the powershell as c# code. It works very well. Thanks again for sharing, 2.4 will bring Office theme switch! :)
BUT NO it's not possible to change the office theme while one program is running. You need to restart office to see the changes.

from windows-auto-night-mode.

Armin2208 avatar Armin2208 commented on May 17, 2024 1

I updated the Beta release under releases. You can now test Office theme switch. Thank you!

from windows-auto-night-mode.

Armin2208 avatar Armin2208 commented on May 17, 2024

I never did something

from windows-auto-night-mode.

jpweytjens avatar jpweytjens commented on May 17, 2024

Are you considering to add this option with the warning mentioned above?

from windows-auto-night-mode.

udobehm avatar udobehm commented on May 17, 2024

Ok, I see. But thanks for investigating it!

from windows-auto-night-mode.

berot3 avatar berot3 commented on May 17, 2024

Can't wait for this to happen! For me it doesn't make much sense to you your auto-switcher until office is not switching along too (sorry).

Also, I think there are quite a lot who are using office, especially in the office! 😃

from windows-auto-night-mode.

kcorax avatar kcorax commented on May 17, 2024

I'm afraid I've confirmed it's not possible though. Even if you intercept messages to the app. The only option would be to write directly in memmory like game trainers do, but that would be extremely fragile code. There's no point in encouraging a productivity app to crash for aesthetics.

from windows-auto-night-mode.

douglangille avatar douglangille commented on May 17, 2024

Is there something in this powershell script that might help? I hacked away at the scheduled tasks in ADM and made something workable based on this, but I have to deal with a PS window popping up. It'd be better in-app if at all possible.

https://www.cloudappie.nl/change-theme-officeproplus-powershell/

from windows-auto-night-mode.

juhaszp95 avatar juhaszp95 commented on May 17, 2024

Hi There,

I think the Office theme switch still doesn't really work (it doesn't switch to night mode for sure - I'm using Office 365). However, you can set Office to set its theme according to the system mode. However, if I set that, that setting seems to go away / be overriden somehow by Auto Dark Mode. I wonder if I could prevent Auto Dark Mode from interfering with my Office setting, such that it would follow the system setting (set by Auto Dark Mode) effectively? (I see there is a "Microsoft Office (legacy)" switch on the Apps tab, but I'm not sure what that does if anything. It was set to "Adapt to system" so far.)

from windows-auto-night-mode.

Spiritreader avatar Spiritreader commented on May 17, 2024

Hi There,

I think the Office theme switch still doesn't really work (it doesn't switch to night mode for sure - I'm using Office 365). However, you can set Office to set its theme according to the system mode. However, if I set that, that setting seems to go away / be overriden somehow by Auto Dark Mode. I wonder if I could prevent Auto Dark Mode from interfering with my Office setting, such that it would follow the system setting (set by Auto Dark Mode) effectively? (I see there is a "Microsoft Office (legacy)" switch on the Apps tab, but I'm not sure what that does if anything. It was set to "Adapt to system" so far.)

The office theme switch doesn't work for 365, which is intentional because MS added an option for Office to follow the system theme. The ADM option is only meant for older versions that are still using the year-style version number.

Two things you can try:

  1. Set it to "let the app decide" and see if that works.

  2. You can set it to "disabled" (as it should be for non-legacy office) and ADM will not modify the office theme registry keys anymore.
    MS have changed the theme definitions for newer versions. Since those versions include a "follow system theme" option on their own, it's no longer necessary to use ADM for it.

Sadly detecting office versions are a bit convoluted, so the user has to make the correct decision whether to tell Office to follow the system them or try the auto dark mode legacy implementation if the first option isn't available on their installed Office version.

from windows-auto-night-mode.

juhaszp95 avatar juhaszp95 commented on May 17, 2024

from windows-auto-night-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.