Quantcast
Viewing all articles
Browse latest Browse all 81

Help: Rainmeter Application • Re: Disappearing skins when showing desktop or pressing WIN+D

(Edit1:
But with this, WIN-D is no longer a "toggle", it just minimizes everything except Rainmeter, but doesn't restore on a subsequent WIN-D.

This more or less makes WIN-D more like WIN-M, which doesn't really help.
Oops! You're right. Just tinkered a bit more with gemini and the code below seems to work perfectly now.)

Hey everyone, just found a lovely solution through Google Gemini 2.0 Flash Thinking Experimental. Made this account just to post the solution so I hope it helps some people out!

1. So first you'd wanna install AutoHotkey - https://www.autohotkey.com/ to create a custom script that allows Windows to ignore the Rainmeter windows when invoking the Win + D command.

2. Create a new .txt file anywhere and paste the following command in it:

Code:

global isMinimized := false  ; Declare isMinimized as a global variableSleep(100) ; <--- Add a 100 millisecond delay at script start#HotIf true#d:: { ; Win + D hotkey    global isMinimized    if (not isMinimized)    {        WinMinimizeAll()        isMinimized := true        WinSetStyle("-0x20000000", "ahk_class RainmeterMeterWindow")    }    else    {        WinMinimizeAllUndo()        isMinimized := false    }}#HotIf
3. Save this file and change its extension from txt to ahk, example: "RainmeterNoMinimize.ahk". Now run the file and confirm if win + D still minimizes the widgets or not.

4. Put the .ahk script in the Startup folder (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup) so it runs automatically on Startup.

Statistics: Posted by Heylium — March 9th, 2025, 5:11 pm



Viewing all articles
Browse latest Browse all 81

Trending Articles