【02-15 原创作品】气象在线 天气 1.1
rainmeter吧
全部回复
仅看楼主
level 9
somi 楼主
还是更新一下,
之前做的1.0有点粗糙有点花有点乱。。
每次看简短天气信息时会接收一次也不太合理
皮肤说明可百度 “【02-12 原创作品】气象在线 天气 1.0”
另皮肤文件里也有几句说明
/s/10CttEjh_6caNACxDLoQhrw 码:61pc
2022年02月15日 10点02分 1
level 9
somi 楼主
由于天气提醒内容长度可能不一,
所以皮肤无法右贴边,
如果想右贴边,可加上:
[MS右贴边]
Measure=Calc
IfCondition=1=1
IfTrueAction=[!Move "(
#WorkAreaX#
+
#WorkAreaWidth#
-
#CurrentConfigWidth#
)" "
#CurrentConfigY#
"]
IfConditionMode=1
UpdateDivider=-1
DynamicVariables=1
2022年02月15日 10点02分 2
level 11
[大拇指]
2022年02月16日 00点02分 3
level 9
somi 楼主
.lua里有个小错误,明天天气提醒有一小段改一下:
if sWeather_am ~= nil and sWeather_pm ~= nil then
if sWeather_am ~= sWeather_pm then
sWeatherTips = sWeatherTips..'明天 '..tWeather_am[2]..' 转 '..tWeather_pm[2]
else
sWeatherTips = sWeatherTips..'明天 '..tWeather_am[2]
end
end
2022年02月19日 09点02分 4
level 3

2022年02月21日 03点02分 5
level 9
somi 楼主
还是上面那个错误,还需要再改一下,改成:
if sWeather_am ~= nil and sWeather_pm ~= nil then
if tWeather_am[2] ~= tWeather_pm[2] then
sWeatherTips = sWeatherTips..'明天 '..tWeather_am[2]..' 转 '..tWeather_pm[2]
else
sWeatherTips = sWeatherTips..'明天 '..tWeather_am[2]
end
end
另在for i = 1, #tTemperature_am do 里的
if iTemperature_am == hTemperature then
tmphXx = hXx
if i >= 13 then
那段,改成:
if iTemperature_am == hTemperature then
tmphXx = hXx
if i < 13 then
SKIN:Bang('!SetOption 最高气温 StringAlign Left')
else
SKIN:Bang('!SetOption 最高气温 StringAlign Right')
end
end
if iTemperature_pm == lTemperature then
tmplXx = lXx
if i < 13 then
SKIN:Bang('!SetOption 最低气温 StringAlign LeftBottom')
else
SKIN:Bang('!SetOption 最低气温 StringAlign RightBottom')
end
end
2022年02月26日 08点02分 6
level 2
楼主能弄个修改 好的版本到网盘吗?小白不懂改啊。另外天气标示下面也就是右下角能加上城市名字吗(字体缩小点)?
2022年03月02日 12点03分 7
将皮肤文件备份后,随便尽改,就算改“坏”了,将备份好的皮肤文件直接复制粘贴到皮肤目录里就行,连雨滴也不用关,覆盖后,刷新皮肤。。。
2022年03月03日 07点03分
加城市名这个没必要吧,我觉得城市名这个元素有点多余,当你修改成自己的城市编码时,还需要知道所报的天气是哪个城市吗
2022年03月03日 07点03分
修改好的版本我晚上或明天发给你,关添加显示城市的问题,我写个代码给你,你自己到时添加到皮肤上,你自己调下位置(X=和Y=那里)和文字大小吧
2022年03月03日 07点03分
新皮肤文件在9楼
2022年03月03日 10点03分
level 9
somi 楼主
将下面的代码加到皮肤上,以便显示城市名,在X=、Y=填上数字,以便调整到自己喜欢放置的位置上:
[Wp城市]
Measure=WebParser
UpdateRate=(24*3600)
URL=https://www.weatherol.cn/api/getCityInfo?type=cityid&id=#城市编码#
RegExp=(?siU)"namecn":"(.*)",
StringIndex=1
[城市]
Meter=String
MeasureName=Wp城市
MeterStyle=文本样式
X=
Y=
FontSize=(7*#缩放#)
InlineSetting2=GradientColor|270|253,255,117,192;0.0|98,243,216,192;1.0
Group=默认组
2022年03月03日 07点03分 8
level 9
somi 楼主
1.2版:
/s/1a6y3sByQBKkqv37kUSpdMA 码:6dg8
修改了上面所说的错误,接收频率改为10分钟一次
皮肤文件里有说明
若要加上城市,见8楼
2022年03月03日 10点03分 9
level 2
非常感谢楼主。渐变色很漂亮。
2022年03月04日 10点03分 10
level 1
感谢楼主,非常搭配
2022年03月06日 01点03分 12
TO DO是哪个皮肤,能共享一下吗?
2022年03月08日 05点03分
@2012lima github.com/Pernickety/rainmeter-todo-list
2022年03月09日 13点03分
@窗外鸟啼 老哥,github上面下的用不了啊,你能分享下咋用的么
2022年06月09日 13点06分
@天无为久 (我来翻老贴)点github右边那个 Releases嘛
2022年07月16日 12点07分
level 9
somi 楼主
新版 1.3
s/1o47zmLPsn7dl_Namg53k9g 提取码:wsd0
2022年08月18日 12点08分 15
level 9
somi 楼主
2022年08月18日 12点08分 16
1