First, what you need to do is this (only one time needed):Is this the code to edit ?
- change the APIKey variable in the [Variables] section from the ...\Square\@Resources\WeatherComJSONVariables.inc file to the one here
- save and close that file
- change the UserAgent option in the [MeasureLocations] measure from the ...\Square\WeatherComCodes\WeatherComCodes.ini file to:
Code:
UserAgent="#ROOTCONFIG#/August 4, 2020 (powered by Rainmeter)"
Then, to actually choose a location (every time it's needed):
- right click the main skin (i.e. the one that corresponds to the ...\Square\All in one\All in one.ini file) for its context menu
- from the context menu, click on Choose Location, to load the recently adjusted WeatherComCodes.ini skin: - type or paste your location name in the yellow bar at the top of that skin
- press the ENTER key, to validate your input (this is often forgotten)
- click on the lens icon at the bottom left of that skin, to search for the entered location
- click on the desired result's coordinates at the right in that skin, to write them to the WeatherComJSONVariables.inc file mentioned earlier
- right click again the main skin, then click More Actions... > Refresh Skin to reflect the changes into the main skin
- enjoy
For the record, the first steps are needed because of the changes in the weeather.com and nominatim.com sites since the skin was released. The last steps are the skin's "friendly way" to choose a location (though the skin refresh at the end wouldn't be needed if the code matched the skin's structure). A shorter / brute way to choose the location would be to just edit the Latitude and Longitude variables from the ...\Square\@Resources\WeatherComJSONVariables.inc file to your own (which you can google, obviously).
Statistics: Posted by Yincognito — Yesterday, 4:46 pm