Advertisement
cperryoh

Weather plugin config

Oct 24th, 2023
1,714
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Rainmeter]
  2. Update=5000
  3. Author= -HipHopium-
  4. DynamicVariables=1
  5.  
  6. [Metadata]
  7. Name=
  8. Author=
  9. Information=
  10. License=
  11. Version=
  12.  
  13. [Variables]
  14. @include=#@#Variables.inc
  15. @include2=#@#Language\#Language#.inc
  16.  
  17. [Style]
  18. FontColor=#FontColor1#
  19. FontFace=#FontFace#
  20. AntiAlias=1
  21.  
  22. ;-------------------------------------------------------------
  23. ;-------------------------------------------------------------
  24. [weatherPlugin]
  25. Measure=Plugin
  26. Plugin=#PLUGINSPATH#\WeatherPlugin.dll
  27. key=<api>
  28. longitude=<lon>
  29. units=c
  30. latitude=<lat>
  31.  
  32. [MeterLine]
  33. Meter=IMAGE
  34. X=0
  35. Y=150
  36. W=450
  37. H=1
  38. SolidColor=255,255,255
  39. Group=Current
  40.  
  41. ;-------------------------------------------------------------
  42. ;-------------------------------------------------------------
  43.  
  44.  
  45.  
  46. [mTempCurrent]
  47. Measure=Plugin
  48. Plugin=Plugins\WebParser.dll
  49. Url=[mCurrent]
  50. StringIndex=17
  51.  
  52. [mConditionsCurrent]
  53. Measure=Plugin
  54. Plugin=Plugins\WebParser.dll
  55. Url=[mCurrent]
  56. StringIndex=19
  57. Substitute=#Conditions#
  58.  
  59. [mLowTemp]
  60. Measure=Plugin
  61. Group=Weather
  62. Plugin=WebParser
  63. URL=[mToday]
  64. StringIndex=5
  65. Disabled=1
  66.  
  67. [mHighTemp]
  68. Measure=Plugin
  69. Group=Weather
  70. Plugin=WebParser
  71. URL=[mToday]
  72. StringIndex=4
  73. Disabled=1
  74.  
  75. ;-------------------------------------------------------------
  76. ;-------------------------------------------------------------
  77.  
  78. [MeterCurrentIcon]
  79. Meter=Image
  80. ImageName=#@#WeatherIcons\[weatherPlugin:getValue(icon)]2x.png
  81. PreserveAspectRatio=1
  82. X=170
  83. Y=0
  84. W=120
  85. Group=Current
  86. DynamicVariables=1
  87. [MeterTempCurrent]
  88. Meter=String
  89. MeterStyle=Style
  90. X=70
  91. Y=70
  92. FontColor=#FontColor2#
  93. FontSize=48
  94. StringAlign=Center
  95. Text="[weatherPlugin:getValue(temp)]°"
  96. Group=Current
  97. DynamicVariables=1
  98.  
  99. [MeterConditionsCurrent]
  100. Meter=String
  101. MeterStyle=Style
  102. X=225
  103. Y=165
  104. W=440
  105. H=40
  106. Text=[weatherPlugin:getValue(condition)] and [weatherPlugin:getValue(humidity)]% humidity
  107. FontColor=#FontColor2#
  108. FontSize=20
  109. StringAlign=Center
  110. ClipString=1
  111. Group=Current
  112. DynamicVariables=1
  113.  
  114. ;-------------------------------------------------------------
  115. ;-------------------------------------------------------------
  116.  
  117. [MeterLow]
  118. Meter=String
  119. MeasureName=mLowTemp
  120. Meter=String
  121. MeterStyle=Style
  122. X=115
  123. Y=115
  124. FontSize=14
  125. Text=[weatherPlugin:getValue(temp_min)]°
  126. DynamicVariables=1
  127. Group=Current
  128. Prefix="#Low#: "
  129.  
  130. [MeterHigh]
  131. Meter=String
  132. MeasureName=mHighTemp
  133. Meter=String
  134. MeterStyle=Style
  135. X=255
  136. Y=115
  137. FontSize=14
  138. Text=[weatherPlugin:getValue(temp_max)]°
  139. Group=Current
  140. DynamicVariables=1
  141. Prefix="#High#: "
  142.  
  143. ;-------------------------------------------------------------
  144. ;-------------------------------------------------------------
  145.  
  146. [Background]
  147. Meter=Image
  148. ImageName=#@#SettingsBg.png
  149. X=40
  150. Y=20
  151. W=380
  152. H=250
  153. Hidden=1
  154. Group=Settings
  155. AntiAlias=1
  156.  
  157. [SettingsIconBackground]
  158. Meter=IMAGE
  159. SolidColor=0,0,0,1
  160. X=0
  161. Y=0
  162. W=460
  163. H=200
  164. MouseOverAction=[!ShowMeter "SettingsIcon"]
  165. MouseLeaveAction=[!HideMeter "SettingsIcon"]
  166. Group=Current
  167.  
  168. [SettingsIcon]
  169. Meter=Image
  170. ImageName=#@#Settings.png
  171. X=410
  172. Y=60
  173. W=25
  174. ToolTipText=Settings.
  175. LeftMouseUpAction=[!WriteKeyValue Variables Hidden "0" "#@#Variables.inc"][!HideMeterGroup Current][!ShowMeterGroup Settings][!Redraw]
  176. AntiAlias=1
  177. Hidden=1
  178. Group=Current
  179.  
  180. [WeatherCode]
  181. Meter=String
  182. StringAlign=Left
  183. FontColor=255,255,255
  184. FontFace=Segoe UI Light
  185. FontSize=14
  186. X=40
  187. Y=80
  188. Text=Enter Location Code Here ->
  189. Hidden=1
  190. AntiAlias=1
  191. Group=Settings
  192.  
  193. [MeterCode]
  194. Meter=String
  195. StringAlign=Center
  196. FontFace=Segoe UI Light
  197. FontColor=0,174,239
  198. FontSize=15
  199. X=310r
  200. Y=0r
  201. Text=#Location#
  202. AntiAlias=1
  203. Hidden=1
  204. Group=Settings
  205. AntiAlias=1
  206. ToolTipText=Type your weather "Location Code" and press the "Enter" key to Apply changes.
  207. LeftMouseUpAction=[!PluginBang "meterInput ExecuteBatch 1"]
  208.  
  209. [MeterInput]
  210. Measure=Plugin
  211. Plugin=InputText.dll
  212. X=300
  213. Y=84
  214. W=110
  215. H=20
  216. Hidden=1
  217. Group=Settings
  218. StringAlign=Left
  219. FontFace=Segoe UI Light
  220. AntiAlias=1
  221. FontSize=14
  222. FocusDismiss=1
  223. Command1=[!WriteKeyValue Variables Location "$UserInput$""#@#Variables.inc"][!Refresh *]
  224. DefaultValue="#Location#"
  225.  
  226. [LocationFind]
  227. Meter=String
  228. StringAlign=Left
  229. FontFace=Segoe UI Light
  230. FontColor=255,255,255
  231. FontSize=14
  232. X=40
  233. Y=50
  234. Text=Find Your Code Here ->
  235. Hidden=1
  236. AntiAlias=1
  237. Group=Settings
  238.  
  239. [LocationCode]
  240. Meter=Image
  241. ImageName=#@#Location.png
  242. X=265r
  243. Y=-8r
  244. W=44
  245. AntiAlias=1
  246. Hidden=1
  247. Group=Settings
  248. ToolTipText="Find your weather "Location Code" on this site."
  249. LeftMouseDownAction=["https://weather.codes/"]
  250.  
  251. [weatherLang]
  252. Meter=String
  253. StringAlign=Left
  254. FontFace=Segoe UI Light
  255. FontColor=255,255,255
  256. FontSize=15
  257. X=40
  258. Y=110
  259. Text=Enter Language Here ->
  260. AntiAlias=1
  261. Hidden=1
  262. Group=Settings
  263.  
  264. [meterCode2]
  265. Meter=String
  266. StringAlign=Center
  267. FontColor=0,174,239
  268. FontSize=15
  269. X=300r
  270. Y=5r
  271. Text=#Language#
  272. AntiAlias=1
  273. Hidden=1
  274. Group=Settings
  275. AntiAlias=1
  276. ToolTipText=Type your "Language" and press the "Enter" key to Apply changes.#CRLF#Suported languages for now:Czech,English,French,German,Greek,#CRLF#Italian,Polish,Russian,Serbian,Spanish,Turkish,Portuguese.
  277. LeftMouseUpAction=[!PluginBang "meterInput2 ExecuteBatch 1"]
  278.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement