Skip to content

Commit ba73156

Browse files
Create DWM-Effects
1 parent 8b2ea0f commit ba73156

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Samples-scripts/FR/DWM-Effects

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
@echo off
2+
chcp 65001 > nul
3+
4+
if exist "%userprofile%"\TSS\classic\classicthemetray.exe (ren "%userprofile%\TSS\classic\classicthemetray.exe" classicthemetray_old.exe
5+
echo The classic theme has been disabled) else (echo The classic theme is already disabled)
6+
7+
start "" /D "%USERPROFILE%\TSS\classic" classicthemetray_old.exe /disable
8+
9+
Set BT5=uxsms.exe
10+
tasklist | find /i "%BT5%">nul && (TASKKILL /f /im uxsms.exe) || goto :1
11+
:1
12+
if exist "%userprofile%"\tss\basic\uxsms.exe (ren "%userprofile%\tss\basic\uxsms.exe" uxsms_old.exe
13+
echo The basic theme has been disabled) else (echo The basic theme is already disabled)
14+
15+
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Windhawk\Engine\Mods\local@disable-dwm-extended-frames /v Disabled /f
16+
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Windhawk\Engine\Mods\local@disable-dwm-extended-frames /v Disabled /t REG_DWORD /d 1
17+
18+
set /P c=Do you want to restart explorer ?[Y\N]?
19+
if /I "%c%" EQU "Y" (TASKKILL /f /im explorer.exe
20+
goto :EX1)
21+
if /I "%c%" EQU "N" (goto :MSG)
22+
23+
:EX1
24+
Set 7+=7+ Taskbar Tweaker.exe
25+
tasklist | find /i "%7+%">nul && (TASKKILL /f /im "7+ Taskbar Tweaker.exe"
26+
goto :2) || goto :EX2
27+
28+
:EX2
29+
start explorer.exe
30+
timeout /t 5
31+
if exist "%userprofile%\AppData\Local\Programs\7+ Taskbar Tweaker\7+ Taskbar Tweaker.exe" (start "" /D "%userprofile%\AppData\Local\Programs\7+ Taskbar Tweaker" "7+ Taskbar Tweaker.exe")
32+
goto :MSG
33+
34+
:MSG
35+
echo Task completed

0 commit comments

Comments
 (0)