I can't seem to find anything about it in the forum or Manual. Maybe I'm using the wrong terms?
So, what I am looking to add is in bold:
Win 11 23H2 (build 22631.3447) 64-bit
Thanks
![Thumbs Up :thumbup:](./images/smilies/ay.gif)
Even if not entirely the required information, you can start by using a RunCommand plugin measure. For example this one:
Code: Select all
[WinVersion]
Measure=Plugin
Plugin=RunCommand
Program=PowerShell
Parameter=cmd /c ver
State=Hide
OutputType=UTF8
RegExpSubstitute=1
Substitute="\n":""
You can find most of the desired info in the registry (run regedit.exe to see it), in the following places:sl23 wrote: ↑May 16th, 2024, 1:26 pm In the Rainmeter About window, I noticed these are shown, but I wondered if it were possible to show these in the Tooltip I have set up.
I can't seem to find anything about it in the forum or Manual. Maybe I'm using the wrong terms?
So, what I am looking to add is in bold:
Win 11 23H2 (build 22631.3447) 64-bit
Thanks![]()
Code: Select all
[MeterText]
Meter=String
MeasureName=MeasureWindowsVersion
MeasureName2=MeasureWindowsBuild
MeasureName3=WinVersion
X=5
Y=5
H=25
FontColor=255,255,255,255
Text="Version: %1 %2"
ToolTipText=%3
Take a look at this post which seems to get all the details you want: https://forum.rainmeter.net/viewtopic.php?p=212378&hilit=win+version+build#p212373
I think eclectic-tech's link will help in that regard, since that thread contains various similar methods that you can try, including mine and balala's. In the previous post, I just copy pasted the registry paths that I successfully use on Win 10 to get that info in my skins, but it's possible that in Win 11 various locations are different, I don't know. Obviously, for some, the names are not exactly intuitive.
Taking into account what has been described on the link posted by eclectic-tech above, here is how can you get exactly what you asked for:
Code: Select all
[MeasureProductName]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion
RegValue=ProductName
UpdateDivider=-1
;Measure=Plugin
;Plugin=RunCommand
;OutputType=ANSI
;Program=PowerShell
;Parameter=(Get-WmiObject -class Win32_OperatingSystem).Caption
;Substitute="#CRLF#":""
;UpdateDivider=-1
[MeasureDisplayVersion]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion
RegValue=DisplayVersion
UpdateDivider=-1
[MeasureCurrentBuild]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion
RegValue=CurrentBuild
UpdateDivider=-1
[MeasureUBR]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion
RegValue=UBR
UpdateDivider=-1
[MeasureWinBits]
Measure=String
String=%ProgramFiles(x86)%
RegExpSubstitute=1
Substitute="^(.+)$":"64","^$":"32"
UpdateDivider=-1
[MeterText]
Meter=String
MeasureName=MeasureWindowsVersion
MeasureName2=MeasureWindowsBuild
MeasureName3=WinVersion
X=5
Y=5
H=25
FontColor=255,255,255,255
Text="Version: %1 %2"
ToolTipText=%3
TooltipText=[MeasureDisplayVersion] (build [MeasureCurrentBuild].[MeasureUBR])
DynamicVariables=1
Glad to help, from my part, even if in this case eclectic-tech provided the proper link.