Hi.
I used the code below as part of a windows widget.
It has always been working ok.
I'm a Windows insider and received the last Canary build yesterday: 25987.1000.
Now the SSID shows -1 instead of the name of the connected device.
Hankman wrote: ↑November 2nd, 2023, 1:00 pm
Hi.
I used the code below as part of a windows widget.
It has always been working ok.
I'm a Windows insider and received the last Canary build yesterday: 25987.1000.
Now the SSID shows -1 instead of the name of the connected device.
Is it just a windows bug or can I change some rainmeter coding?
I can't speak for Win 11 or the latest versions, but bar the commenting using ; instead of # in the .ini syntax (which doesn't affect the result here), the code is fine. The culprit might be either a Windows bug or some change they operated in that version preventing Rainmeter from getting the right value. Alternatively / in the meantime, I guess you could try some PowerShell (both directly to see if it's really a Windows bug, and in a RunCommand measure in your skin afterwards) to get the SSID instead.
Last edited by balala on December 21st, 2023, 9:19 pm, edited 1 time in total.
Reason:Please use <code> tags whenever are posting codes. It's the </> button.
Hankman wrote: ↑December 21st, 2023, 8:51 pm
I found a solution and don't use the WifiStatus anymore, because of the problem in Windows 11 Insider Builds.
I was peeking around in the registry and found the WLanProfileName:
Glad you found a solution that works for you - thanks you for sharing! Note, however, that this might not work for another computer, operating system version and so on - which is something to consider if by any chance you want to release your skin. For example, in my case (Windows 10), this is how the key you mentioned looks like:
OOBE.jpg
Notice how the RegValue is missing.
You do not have the required permissions to view the files attached to this post.