krlvm / contextmenunormalizer Goto Github PK
View Code? Open in Web Editor NEWNormalize context menu highlight color in Windows 10 19H1+
License: GNU General Public License v3.0
Normalize context menu highlight color in Windows 10 19H1+
License: GNU General Public License v3.0
Does SetBitmapBits only work on explorer's Context Menu? Using this code can't modify the color of other win32 Context Menu. If you directly modify the image of ImmersiveStart::Menu under aero.msstyles and use UXThemePatcher to apply the theme, you can find all win32 Context Menu has changed colors, just like StartAllBack. I tried to use this codes to modify the colors of other controls, such as Trackbar, and it worked very well.
Hello,
I noticed someone posted this about the main project (AccentColorizer)
But if the user extracts the .zip into another drive that's not the C drive, it will result in an error.
Simply changing cd %~dp0%
to cd /d %~dp0
will fix it.
Also I noticed that the install.cmd script requires Administrator privilege's to properly copy .exe
You can force Admin with this code:
@echo off
@C:\Windows\System32\chcp 28591 > nul
@C:\Windows\System32\mode con cols=105 lines=35
@Title Start as Admin
:: Checking for admin rights
::------------------------------------------
REM --> Checking Permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> Error: No admistrative privlages
if '%errorlevel%' NEQ '0' (
REM --> Checking administrative privileges
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
@echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"="
echo UAC.ShellExecute "%~s0", "%params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
@cls
GOTO Main
:Main
(rest of the script)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.