永发信息网

怎么修改rainmeter的天气预报的城市代码和城市名称?

答案:1  悬赏:20  手机版
解决时间 2021-08-18 03:14
  • 提问者网友:你独家记忆
  • 2021-08-17 11:16

找不到可以修改城市代码和城市名称的地方

哪位告诉下?

[Rainmeter]
Author=kooyer
BackgroundMode=1

;===================seting=======================================

[MeterImage]
Meter=image
X=20
Y=40
ImageName=chuyin.png

[MeterBlack]
Meter=image
x=200
Y=-5
ImageName=BG.png

[Variables]
URL= http://m.weather.com.cn/data//101271701.html
URL2= http://www.weather.com.cn/html/weather//101271701.shtml
Font=微软雅黑
Fontcolor=12,94,248.255
Farbe=255,255,255,180

;================================================================

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=#URL#
RegExp="{"weatherinfo":{"city":"(.*)","city_en":"(.*)","date_y":"(.*)","date":"(.*)","week":"(.*)","fchh":"(.*)","cityid":"(.*)","temp1":"(.*)","temp2":"(.*)","temp3":"(.*)","temp4":"(.*)","temp5":"(.*)","tempF1":"(.*)","tempF2":"(.*)","tempF3":"(.*)","tempF4":"(.*)","weather1":"(.*)","weather2":"(.*)","weather3":"(.*)","weather4":"(.*)","img1":"(.*)","img2":"(.*)","img3":"(.*)","img4":"(.*)","img5":"(.*)","img6":"(.*)","img7":"(.*)","img8":"(.*)","img_single":"(.*)","img_title1":"(.*)","img_title2":"(.*)","img_title3":"(.*)","img_title4":"(.*)","img_title5":"(.*)","img_title6":"(.*)","img_title7":"(.*)","img_title8":"(.*)","img_title_single":"(.*)","wind1":"(.*)","wind2":"(.*)","wind3":"(.*)","wind4":"(.*)","fl1":"(.*)","fl2":"(.*)","fl3":"(.*)","fl4":"(.*)","index":"(.*)","index_d":"(.*)","index48":"(.*)","index48_d":"(.*)","index_uv":"(.*)","index48_uv":"(.*)","index_xc":"(.*)","index_tr":"(.*)","index_co":"(.*)"}}"
StringIndex=1
;Debug=1


;--------------------------------

[MeasureCity]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=1


[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3


[MeasureWeathertop]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3


[MeasureWeatherlow]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=4


[MeasureWeatherWeek]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5


[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=17

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23

[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=25

[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27


[MeasureWeatherIcon4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=29


[MeasureWeatherUVIndexDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=51


[MeasureWeatherWind]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=39


[MeasureWeatherHot]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=8


[MeasureWeatherHot2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9

[MeasureWeatherHot3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10

[MeasureWeatherHot4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=11

 


;================================================================


[MeterTitle]
MeasureName=MeasureCity
Meter=STRING
X=305
Y=235
FontColor=12,94,246,250
FontSize=20
StringAlign=Left
StringStyle=BOLD
FontFace=汉仪秀英体简
AntiAlias=1


[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=260
Y=245


[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=205
Y=233
W=100
H=65

[MeterWeathertop]
MeasureName=MeasureWeathertop
Meter=STRING
X=380
Y=265
FontColor=#Fontcolor#
StringStyle=BOLD
FontSize=8
StringAlign=Right
FontFace=Capture it
Antialias=1

 

[MeterWeatherlow]
MeasureName=MeasureWeatherlow
Meter=STRING
X=380
Y=283
FontColor=#Fontcolor#
StringStyle=BOLD
FontSize=8
StringAlign=Right
FontFace=Capture it
Antialias=1


[MeterWeatherWeek]
MeasureName=MeasureWeatherWeek
Meter=STRING
X=380
Y=300
FontColor=#Fontcolor#
StringStyle=BOLD
FontSize=8
StringAlign=Right
FontFace=Capture it
Antialias=1

 

[MeterDescTitle]
Meter=STRING
X=262
Y=300
FontColor=#Fontcolor#
FontSize=8
StringAlign=Right
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Text=天气状况:


[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=5r
Y=300
FontColor=#Fontcolor#
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[MeterWindTitle]
Meter=STRING
X=262
Y=315
FontColor=#Fontcolor#
FontSize=8
StringAlign=Right
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Text=风向风力:


[MeterWind]
MeasureName=MeasureWeatherWind
Meter=STRING
X=5r
Y=0r

FontColor=#Fontcolor#
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1
ClipString=1

[MeterHotTitle]
Meter=STRING
X=262
Y=330
FontColor=#Fontcolor#
FontSize=8
StringAlign=Right
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Text=气温状况:


[MeterHot]
MeasureName=MeasureWeatherHot
Meter=STRING
X=5r
Y=330
FontColor=#Fontcolor#
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[MeterUVIndexTitle]
Meter=STRING
X=262
Y=345
FontColor=#Fontcolor#
FontSize=8
StringAlign=Right
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Text=紫 外 线 :


[MeterUVIndexDesc]
MeasureName=MeasureWeatherUVIndexDesc
Meter=STRING
X=5r
Y=345
FontColor=#Fontcolor#
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

;================================================================

[MeterWLIcon]
Meter=IMAGE
IMAGEName=wd.png
X=345
Y=332
W=28
H=28
MouseOverAction=!execute [!RainmeterShowMeter MeterWLOverTip][!RainmeterShowMeter MeterWLIcon][!RainmeterRedraw]
MouseLeaveAction=!execute [!RainmeterHideMeter MeterWLOverTip][!RainmeterShowMeter MeterWLIcon][!RainmeterRedraw]
LeftMouseDownAction=#URL2#

[MeterWLOverTip]
Meter=String
X=355
Y=345
FontColor=105,190,255,240
FontSize=9
FontFace=#FontName#
StringStyle=BOLD
StringAlign=CENTER
AntiAlias=1
Prefix=查询更多
LeftMouseDownAction=#URL2#
Hidden=1


;第二天
[MeterDate1]
Meter=STRING
X=235
Y=370
FontColor=#Fontcolor#
FontSize=8
StringAlign=Center
StringStyle=BOLD
FontFace=#Font#
Text=明天
Antialias=1


;第二天温度
[MeterHot2]
MeasureName=MeasureWeatherHot2
Meter=STRING
X=215
Y=420
FontColor=#Fontcolor#
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


;第二天天气图片
[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=210
Y=380
H=40
W=60


;第三天
[MeterDate3]
Meter=STRING
X=295
Y=370
FontColor=#Fontcolor#
FontSize=8
StringAlign=Center
StringStyle=BOLD
FontFace=#Font#
Text=后天
Antialias=1


;第三天温度
[MeterHot3]
MeasureName=MeasureWeatherHot3
Meter=STRING
X=275
Y=420
FontColor=#Fontcolor#
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


;第三天天气图片
[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=265
Y=380
H=40
W=60

 

;第四天
[MeterDate4]
Meter=STRING
X=350
Y=370
FontColor=#Fontcolor#
FontSize=8
StringAlign=Center
StringStyle=BOLD
FontFace=#Font#
Text=大后天
Antialias=1


;第四天温度
[MeterHot4]
MeasureName=MeasureWeatherHot4
Meter=STRING
X=330
Y=420
FontColor=#Fontcolor#
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


;第四天天气图片
[MeterIcon4]
MeasureName=MeasureWeatherIcon4
Meter=IMAGE
X=320
Y=380
H=40
W=60

最佳答案
  • 五星知识达人网友:三千妖杀
  • 2021-08-17 11:34

我教你弄,你采纳后+1194444888  2分钟弄好!

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯