Advertisement
Guest User

rainmeter

a guest
Feb 4th, 2017
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.09 KB | None | 0 0
  1. [Rainmeter]
  2. Preview=#SKINSPATH#Preview.png
  3.  
  4. [Metadata]
  5. Name=Windows 9 Single
  6. Author=Ashish Saini
  7. Description=The welcome skin of Windows RT
  8. License=GK Industries - Mark 4 ( License registered )
  9. Version=1.0 (build 1830)
  10. Information=Design and Developed by Gk Industries to Ashish Saini
  11. --------------------------------------------------------------------------------------------------------------
  12.  
  13. [Variables]
  14. Location=UKXX9285
  15. Metric=M
  16. Font=Comic Sans MS
  17. FontColor=255, 255, 255, 255
  18. FontInactive=255, 255, 255, 200
  19. ;City Name
  20.  
  21. --------------------------------------------------------------------------------------------------------------
  22.  
  23. [Current]
  24. Measure=Plugin
  25. Plugin=Plugins\WebParser.dll
  26. UpdateRate=3000
  27. Url=http://wxdata.weather.com/wxdata/weather/local/UKXX9285?cc=*&unit=#Metric#&dayf=5
  28. RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"
  29.  
  30. [Today]
  31. Measure=Plugin
  32. Plugin=Plugins\WebParser.dll
  33. UpdateRate=3000
  34. Url=http://wxdata.weather.com/wxdata/weather/local/UKXX9285?cc=*&unit=#Metric#&dayf=1
  35. RegExp="(?siU)<dayf>.*<lsup>(.*)</lsup>.*<day d="0" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"
  36.  
  37. [Tomorrow]
  38. Measure=Plugin
  39. Plugin=Plugins\WebParser.dll
  40. UpdateRate=3000
  41. Url=http://wxdata.weather.com/wxdata/weather/local/UKXX9285?cc=*&unit=#Metric#&dayf=2
  42. RegExp="(?siU)<day d="1" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"
  43.  
  44. [DayAfter]
  45. Measure=Plugin
  46. Plugin=Plugins\WebParser.dll
  47. UpdateRate=3000
  48. Url=http://wxdata.weather.com/wxdata/weather/local/UKXX9285?cc=*&unit=#Metric#&dayf=3
  49. RegExp="(?siU)<day d="2" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"
  50.  
  51. --------------------------------------------------------------------------------------------------------------
  52.  
  53. [MeasureWeatherTemp]
  54. Measure=Plugin
  55. Plugin=Plugins\WebParser.dll
  56. Url=[Current]
  57. StringIndex=17
  58.  
  59. [MeasureWeatherDesc]
  60. Measure=Plugin
  61. Plugin=Plugins\WebParser.dll
  62. Url=[Current]
  63. StringIndex=19
  64. Substitute=" And ":" and ","Lgt.":"Light ","Snow/":"Snow & "
  65.  
  66. [MeasureWeatherIcon]
  67. Measure=Plugin
  68. Plugin=Plugins\WebParser.dll
  69. Url=[Current]
  70. StringIndex=20
  71.  
  72. [MeasureWeatherRealFeel]
  73. Measure=Plugin
  74. Plugin=Plugins\WebParser.dll
  75. Url=[Current]
  76. StringIndex=18
  77.  
  78. --------------------------------------------------------------------------------------------------------------
  79.  
  80. [MeasureWeatherDesc1]
  81. Measure=Plugin
  82. Plugin=Plugins\WebParser.dll
  83. Url=[Today]
  84. StringIndex=9
  85. Substitute=" And ":" and "
  86.  
  87. [MeasureWeatherDay1]
  88. Measure=Plugin
  89. Plugin=Plugins\WebParser.dll
  90. Url=[Today]
  91. StringIndex=2
  92.  
  93. [MeasureWeatherTemp1]
  94. Measure=Plugin
  95. Plugin=Plugins\WebParser.dll
  96. Url=[Today]
  97. StringIndex=4
  98. Substitute="N/A":"666"
  99.  
  100. [MeasureWeatherIcon1]
  101. Measure=Plugin
  102. Plugin=Plugins\WebParser.dll
  103. Url=[Today]
  104. StringIndex=8
  105.  
  106. [CheckNATemp]
  107. Measure=Calc
  108. Formula=[MeasureWeatherTemp1]
  109. IfBelowValue=665
  110. IfBelowAction=!execute [!RainmeterHideMeter MeterNightTemp1][!RainmeterHideMeter MeterNightDay1][!RainmeterHideMeter MeterNightDesc1][!RainmeterHideMeter MeterNightIcon1][!RainmeterShowMeter MeterTemp1][!RainmeterShowMeter MeterDay1][!RainmeterShowMeter MeterDesc1][!RainmeterShowMeter MeterIcon1]
  111. IfEqualValue=666
  112. IfEqualAction=!execute [!RainmeterHideMeter MeterTemp1][!RainmeterHideMeter MeterDay1][!RainmeterHideMeter MeterDesc1][!RainmeterHideMeter MeterIcon1][!RainmeterShowMeter MeterNightTemp1][!RainmeterShowMeter MeterNightDay1][!RainmeterShowMeter MeterNightDesc1][!RainmeterShowMeter MeterNightIcon1]
  113. DynamicVariables=1
  114.  
  115. --------------------------------------------------------------------------------------------------------------
  116.  
  117. [MeasureWeatherNightDesc]
  118. Measure=Plugin
  119. Plugin=Plugins\WebParser.dll
  120. Url=[Today]
  121. StringIndex=18
  122. Substitute=" And ":" and "
  123.  
  124. [MeasureWeatherNightTemp]
  125. Measure=Plugin
  126. Plugin=Plugins\WebParser.dll
  127. Url=[Today]
  128. StringIndex=5
  129.  
  130. [MeasureWeatherNightIcon]
  131. Measure=Plugin
  132. Plugin=Plugins\WebParser.dll
  133. Url=[Today]
  134. StringIndex=17
  135.  
  136. --------------------------------------------------------------------------------------------------------------
  137.  
  138. [MeasureWeatherDesc2]
  139. Measure=Plugin
  140. Plugin=Plugins\WebParser.dll
  141. Url=[Tomorrow]
  142. StringIndex=8
  143. Substitute=" And ":" and "
  144.  
  145. [MeasureWeatherDay2]
  146. Measure=Plugin
  147. Plugin=Plugins\WebParser.dll
  148. Url=[Tomorrow]
  149. StringIndex=1
  150.  
  151. [MeasureWeatherTemp2]
  152. Measure=Plugin
  153. Plugin=Plugins\WebParser.dll
  154. Url=[Tomorrow]
  155. StringIndex=3
  156.  
  157. [MeasureWeatherIcon2]
  158. Measure=Plugin
  159. Plugin=Plugins\WebParser.dll
  160. Url=[Tomorrow]
  161. StringIndex=7
  162.  
  163. --------------------------------------------------------------------------------------------------------------
  164.  
  165. [MeasureWeatherDesc3]
  166. Measure=Plugin
  167. Plugin=Plugins\WebParser.dll
  168. Url=[DayAfter]
  169. StringIndex=8
  170. Substitute=" And ":" and "
  171.  
  172. [MeasureWeatherDay3]
  173. Measure=Plugin
  174. Plugin=Plugins\WebParser.dll
  175. Url=[DayAfter]
  176. StringIndex=1
  177.  
  178. [MeasureWeatherTemp3]
  179. Measure=Plugin
  180. Plugin=Plugins\WebParser.dll
  181. Url=[DayAfter]
  182. StringIndex=3
  183.  
  184. ;D+3, weather icon, id=38
  185. [MeasureWeatherIcon3]
  186. Measure=Plugin
  187. Plugin=Plugins\WebParser.dll
  188. Url=[DayAfter]
  189. StringIndex=7
  190.  
  191. --------------------------------------------------------------------------------------------------------------
  192.  
  193. [MeterTemp]
  194. MeasureName=MeasureWeatherTemp
  195. Meter=STRING
  196. X=32
  197. Y=150
  198. FontColor=ffffff
  199. FontSize=17
  200. StringAlign=Center
  201. FontFace=Segoe UI
  202. Antialias=1
  203. Postfix="°C"
  204.  
  205.  
  206. [MeterDay]
  207. Meter=STRING
  208. X=32
  209. Y=40
  210. FontColor=255, 255, 255, 220
  211. FontSize=14
  212. StringAlign=Center
  213. FontFace=Segoe UI
  214. Text="Today"
  215. Antialias=1
  216.  
  217. [MeterIcon]
  218. MeasureName=MeasureWeatherIcon
  219. Meter=IMAGE
  220. X=0
  221. Y=80
  222.  
  223. --------------------------------------------------------------------------------------------------------------
  224.  
  225. [MeterTemp2]
  226. MeasureName=MeasureWeatherTemp2
  227. Meter=STRING
  228. X=130
  229. Y=150
  230. FontColor=ffffff
  231. FontSize=17
  232. StringAlign=Center
  233. FontFace=Segoe UI
  234. Antialias=1
  235. Postfix="°C"
  236.  
  237. [MeterDay2]
  238. MeasureName=MeasureWeatherDay2
  239. Meter=STRING
  240. X=130
  241. Y=40
  242. FontColor=ffffff
  243. FontSize=14
  244. StringAlign=Center
  245. FontFace=Segoe UI
  246. Antialias=1
  247.  
  248. [MeterIcon2]
  249. MeasureName=MeasureWeatherIcon2
  250. Meter=IMAGE
  251. X=100
  252. Y=80
  253.  
  254. --------------------------------------------------------------------------------------------------------------
  255.  
  256. [MeterTemp3]
  257. MeasureName=MeasureWeatherTemp3
  258. Meter=STRING
  259. X=233
  260. Y=150
  261. FontColor=ffffff
  262. FontSize=17
  263. StringAlign=Center
  264. FontFace=Segoe UI
  265. Antialias=1
  266. Postfix="°C"
  267.  
  268. [MeterDay3]
  269. MeasureName=MeasureWeatherDay3
  270. Meter=STRING
  271. X=233
  272. Y=40
  273. W=200
  274. H=50
  275. FontColor=ffffff
  276. FontSize=14
  277. StringAlign=Center
  278. FontFace=Segoe UI
  279. Antialias=1
  280.  
  281. [MeterIcon3]
  282. MeasureName=MeasureWeatherIcon3
  283. Meter=IMAGE
  284. X=200
  285. Y=80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement