Sam

Results 305 comments of Sam

> I found the correct syntax for PowerShell 7: > > ```powershell > $params = @("--light", "10", "--and-launch-service") > & "C:\Program Files (x86)\AutoDarkMode\AutoDarkModeShell.exe" @params > $params2 = @("--exit") > &...

> > In your case it doesn't really matter if you use --force-light or --light and --force-dark or --dark since you exit the ADM service afterwards. Setting the force flag...

> Ok thanks, It seems working pretty well atm. Also, It helped me with my mouse scheme (less clutter). I just noticed that you are part of auto dark mode...

Hey! At the moment I'm afraid this isn't possible. ADM functions as a theme switcher that triggers CThemeManager, which is a windows-owned component which we don't have control over. Basically...

We have hotkeys that implement that functionality for instantly switching the theme. Currently no plans to modify the tray icon behavior, sorry.

I'm not sure if windows can do this. Can you provide some instructions how to set it up with the windows control pabel? We can only mimic what's possible there.

> Thanks for responding. For my scenario, when my PC switches to dark mode automatically, I click the "Use Taskbar Accent Color during Dark Theme", same goes for when it...

The default option of custom scripts actually is to run before a theme switch occurs. The [script component](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/blob/master/AutoDarkModeSvc/SwitchComponents/Base/ScriptSwitch.cs) uses the default hook position, which is [PostSync](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/blob/cf7a0fefd8b51edc8d4868acd3abe06880113362/AutoDarkModeSvc/SwitchComponents/BaseComponent.cs#L43C41-L43C41) You can see that...

``` Instead, my desired solution is that once I toggle to dark mode, it will only auto-toggle it back to light mode at 7 am ``` That is precisely what...

Rudimentary support is here: ![image](https://user-images.githubusercontent.com/18438899/200083587-90b46e09-94e0-4d66-b0c4-570a5aa394bd.png)