Discussione: TaskBar trasparente
View Single Post
Old 02-01-2024, 17:29   #1
Unax
Senior Member
 
L'Avatar di Unax
 
Iscritto dal: Oct 2008
Messaggi: 6017
TaskBar trasparente

create un file bat col seguente codice ed eseguitelo nell'utente in cui volete la barra trasparente

Codice:
@echo off
cls
:OPTIONS
echo Inserisci un valore tra 0 e 255 (0 massima trasparenza 255 opaco)
set /P opacity=">> 

reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v TaskbarAcrylicOpacity /t REG_DWORD /d %opacity% /f

reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v ColorPrevalence /t REG_DWORD /d 0 /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v EnableTransparency /t REG_DWORD /d 1 /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 0 /f
taskkill /f /im explorer.exe && start explorer.exe
per resettare usate il seguente codice

Codice:
@echo off
cls
echo Cancello trasparenza

reg delete HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v TaskbarAcrylicOpacity /f
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v EnableTransparency /t REG_DWORD /d 0 /f

taskkill /im explorer.exe /f && start explorer.exe
con valore zero il risultato dovrebbe essere questo

https://snipboard.io/MnPWRx.jpg
Unax è offline   Rispondi citando il messaggio o parte di esso