It is currently June 24th, 2021, 9:28 pm

Accessing Windows Location Services from skin

Help with creating, editing & fixing problems with skins
Posts: 1
Joined: June 11th, 2019, 1:18 am

Accessing Windows Location Services from skin

Post by timg11 »

I'm brand new to Rainmeter. I've got the basic Illusto\Clock running with a few customizations.
I travel a lot and I'd like to make my clock automatically adjust to the current location timezone. ( I keep the system clock constant)

Microsoft documents Windows.Devices.Geolocation Namespace as a means to identify the system location.
Can this API (or something similar) be accessed from Rainmeter?
I looked through the Final Manual and didn't find anything on geolocation.
Searching back a few years I saw some posts from 2013 on using HTML5 web services and parsing the return, but that was before Windows geolocation services had matured.
User avatar
Posts: 654
Joined: June 25th, 2015, 7:02 pm
Location: The Sky, USA

Re: Accessing Windows Location Services from skin

Post by raiguard »

I am interested in this too. I wish to add an auto-location feature to my Weather skin, and being able to use Windows' built-in location services would be much nicer than relying on a website. For now I am using, but it isn't wholely accurate (despite living in a city with almost 100,000 people, it reports that I live in a city over twenty miles to the north!).

I'd imagine that accomplishing this would require a special plugin, since Windows needs to authenticate permission to access the data on a per-app basis.
”We are pretty sure that r2922 resolves the regression in resolution caused by a reversion to a revision.” - jsmorley, 2017