home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Rainmeter / rainmeter-0.11.exe / Tokyo.ini < prev    next >
INI File  |  2004-07-10  |  6KB  |  309 lines

  1. ;
  2. ; Rainmeter configuration file
  3. ;
  4. ; Change the URL in [Variables] to match your location.
  5. ;
  6.  
  7. [Variables]
  8. URL=http://www.rssweather.com/hw3.php?icao=RJTT
  9. HideAll=[!RainmeterHideMeter MeterHumidity][!RainmeterHideMeter MeterWindSpeed][!RainmeterHideMeter MeterPressure][!RainmeterHideMeter MeterDewPoint][!RainmeterHideMeter MeterHeatIndex][!RainmeterHideMeter MeterWindChill][!RainmeterHideMeter MeterVisibility]
  10.  
  11. [Rainmeter]
  12. Background=bg.png
  13. Author=Rainy (rainy@iki.fi)
  14. Update=1000
  15. AppVersion=1001
  16.  
  17. ;
  18. ; Measures
  19. ;
  20.  
  21. [MeasureWeather]
  22. Measure=Plugin
  23. Plugin=Plugins\WebParser.dll
  24. UpdateRate=3600
  25. Url=#URL#
  26. RegExp="(?siU)<h1>(.*)</h1>(.*)fcicons/(.*).gif(.*)<span class=\"temp\">(.*)</span>(.*)humidity" style="display: inline;">(.*)</dd>(.*)windspeed" style="display: inline;">((.*)</dd>(.*)winddir" style="display: inline;">(.*) \((.*)°\)</dd>|Calm</dd>||VRB </dd>)(.*)pressure" style="display: inline;">(.*)</dd>(.*)dewpoint" style="display: inline;">(.*)</dd>(.*)heatindex" style="display: inline;">(.*)</dd>(.*)windchill" style="display: inline;">(.*)</dd>(.*)visibility" style="display: inline;">(.*)</dd>"
  27. StringIndex=1
  28. ;Debug=1
  29.  
  30. [MeasureIcon]
  31. Measure=Plugin
  32. Plugin=Plugins\WebParser.dll
  33. Url=[MeasureWeather]
  34. StringIndex=3
  35.  
  36. [MeasureTemp]
  37. Measure=Plugin
  38. Plugin=Plugins\WebParser.dll
  39. Url=[MeasureWeather]
  40. StringIndex=5
  41. Substitute="°":"░"
  42.  
  43. [MeasureHumidity]
  44. Measure=Plugin
  45. Plugin=Plugins\WebParser.dll
  46. Url=[MeasureWeather]
  47. StringIndex=7
  48.  
  49. [MeasureWindSpeed]
  50. Measure=Plugin
  51. Plugin=Plugins\WebParser.dll
  52. Url=[MeasureWeather]
  53. StringIndex=10
  54.  
  55. [MeasurePressure]
  56. Measure=Plugin
  57. Plugin=Plugins\WebParser.dll
  58. Url=[MeasureWeather]
  59. StringIndex=15
  60.  
  61. [MeasureDewPoint]
  62. Measure=Plugin
  63. Plugin=Plugins\WebParser.dll
  64. Url=[MeasureWeather]
  65. StringIndex=17
  66. Substitute="°":"░"
  67.  
  68. [MeasureHeatIndex]
  69. Measure=Plugin
  70. Plugin=Plugins\WebParser.dll
  71. Url=[MeasureWeather]
  72. StringIndex=19
  73. Substitute="°":"░"
  74.  
  75. [MeasureWindChill]
  76. Measure=Plugin
  77. Plugin=Plugins\WebParser.dll
  78. Url=[MeasureWeather]
  79. StringIndex=21
  80. Substitute="°":"░"
  81.  
  82. [MeasureVisibility]
  83. Measure=Plugin
  84. Plugin=Plugins\WebParser.dll
  85. Url=[MeasureWeather]
  86. StringIndex=23
  87.  
  88. [MeasureWindDir]
  89. Measure=Plugin
  90. Plugin=Plugins\WebParser.dll
  91. Url=[MeasureWeather]
  92. StringIndex=13
  93.  
  94. ; There is a bug in Rainmeter 0.10 and the MaxValue of the WebParser is always 1.
  95. ; So we need to use the Calc-measure to scale the value between 0...1.
  96.  
  97. [MeasureWindDirCalc]
  98. Measure=Calc
  99. Formula=MeasureWindDir/360
  100.  
  101. ;
  102. ; These measures cycle the information under the temperature. The idea here is 
  103. ; that the Counter will increase by on one every update-cycle, so we'll just take
  104. ; a remainder of 70 from the value (there are 7 different items) so that we get
  105. ; values from 0 to 69. Then just hide all and show one of them every time the
  106. ; value grows larger than a certain number (the actions are executed only when
  107. ; the bypasses the value). 
  108.  
  109. [MeasureCycle1]
  110. Measure=Calc
  111. Formula=Counter % 70
  112. IfAboveValue=5
  113. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterHumidity]
  114.  
  115. [MeasureCycle2]
  116. Measure=Calc
  117. Formula=Counter % 70
  118. IfAboveValue=15
  119. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterWindSpeed]
  120.  
  121. [MeasureCycle3]
  122. Measure=Calc
  123. Formula=Counter % 70
  124. IfAboveValue=25
  125. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterPressure]
  126.  
  127. [MeasureCycle4]
  128. Measure=Calc
  129. Formula=Counter % 70
  130. IfAboveValue=35
  131. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterDewPoint]
  132.  
  133. [MeasureCycle5]
  134. Measure=Calc
  135. Formula=Counter % 70
  136. IfAboveValue=45
  137. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterHeatIndex]
  138.  
  139. [MeasureCycle6]
  140. Measure=Calc
  141. Formula=Counter % 70
  142. IfAboveValue=55
  143. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterWindChill]
  144.  
  145. [MeasureCycle7]
  146. Measure=Calc
  147. Formula=Counter % 70
  148. IfAboveValue=65
  149. IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterVisibility]
  150.  
  151. ;
  152. ; Meters
  153. ;
  154.  
  155. [MeterTitle]
  156. MeasureName=MeasureWeather
  157. Meter=STRING
  158. X=95
  159. Y=65
  160. FontColor=0, 0, 0
  161. StringStyle=NORMAL
  162. FontSize=8
  163. StringAlign=CENTER
  164. FontFace=Arial
  165. Antialias=1
  166.  
  167. [MeterIcon]
  168. MeasureName=MeasureIcon
  169. Meter=IMAGE
  170. X=15
  171. Y=10
  172. LeftMouseDownAction=!execute [!RainmeterHideMeter MeterIcon][!RainmeterShowMeter MeterWindDir1][!RainmeterShowMeter MeterWindDir2][!RainmeterRedraw]
  173.  
  174. [MeterWindDir1]
  175. Meter=IMAGE
  176. X=15
  177. Y=10
  178. ImageName=nesw.png
  179. LeftMouseDownAction=!execute [!RainmeterHideMeter MeterWindDir1][!RainmeterHideMeter MeterWindDir2][!RainmeterShowMeter MeterIcon][!RainmeterRedraw]
  180. Hidden=1
  181.  
  182. [MeterWindDir2]
  183. MeasureName=MeasureWindDirCalc
  184. Meter=ROTATOR
  185. X=15
  186. Y=10
  187. W=64
  188. H=64
  189. ImageName=arrow.png
  190. StartAngle=4.7124
  191. OffsetY=7
  192. Hidden=1
  193.  
  194. [MeterTemp]
  195. MeasureName=MeasureTemp
  196. Meter=STRING
  197. X=170
  198. Y=15
  199. FontColor=0, 0, 0
  200. StringStyle=BOLD
  201. FontSize=24
  202. StringAlign=RIGHT
  203. FontFace=Arial
  204. Antialias=1
  205.  
  206. [MeterHumidity]
  207. MeasureName=MeasureHumidity
  208. Meter=STRING
  209. X=170
  210. Y=50
  211. FontColor=0, 0, 0
  212. StringStyle=NORMAL
  213. FontSize=8
  214. StringAlign=RIGHT
  215. FontFace=Arial
  216. Prefix="Humidity: "
  217. Antialias=1
  218. Hidden=0
  219.  
  220. [MeterWindSpeed]
  221. MeasureName=MeasureWindSpeed
  222. Meter=STRING
  223. X=0r
  224. Y=0r
  225. FontColor=0, 0, 0
  226. StringStyle=NORMAL
  227. FontSize=8
  228. StringAlign=RIGHT
  229. FontFace=Arial
  230. Prefix="Wind Speed: "
  231. Antialias=1
  232. Hidden=1
  233.  
  234. [MeterPressure]
  235. MeasureName=MeasurePressure
  236. Meter=STRING
  237. X=0r
  238. Y=0r
  239. FontColor=0, 0, 0
  240. StringStyle=NORMAL
  241. FontSize=8
  242. StringAlign=RIGHT
  243. FontFace=Arial
  244. Prefix="Pressure: "
  245. Antialias=1
  246. Hidden=1
  247.  
  248. [MeterDewPoint]
  249. MeasureName=MeasureDewPoint
  250. Meter=STRING
  251. X=0r
  252. Y=0r
  253. FontColor=0, 0, 0
  254. StringStyle=NORMAL
  255. FontSize=8
  256. StringAlign=RIGHT
  257. FontFace=Arial
  258. Prefix="Dew Point: "
  259. Antialias=1
  260. Hidden=1
  261.  
  262. [MeterHeatIndex]
  263. MeasureName=MeasureHeatIndex
  264. Meter=STRING
  265. X=0r
  266. Y=0r
  267. FontColor=0, 0, 0
  268. StringStyle=NORMAL
  269. FontSize=8
  270. StringAlign=RIGHT
  271. FontFace=Arial
  272. Prefix="Heat Index: "
  273. Antialias=1
  274. Hidden=1
  275.  
  276. [MeterWindChill]
  277. MeasureName=MeasureWindChill
  278. Meter=STRING
  279. X=0r
  280. Y=0r
  281. FontColor=0, 0, 0
  282. StringStyle=NORMAL
  283. FontSize=8
  284. StringAlign=RIGHT
  285. FontFace=Arial
  286. Prefix="Wind Chill: "
  287. Antialias=1
  288. Hidden=1
  289.  
  290. [MeterVisibility]
  291. MeasureName=MeasureVisibility
  292. Meter=STRING
  293. X=0r
  294. Y=0r
  295. FontColor=0, 0, 0
  296. StringStyle=NORMAL
  297. FontSize=8
  298. StringAlign=RIGHT
  299. FontFace=Arial
  300. Prefix="Visibility: "
  301. Antialias=1
  302. Hidden=1
  303.  
  304. [MeterShine]
  305. Meter=IMAGE
  306. X=0
  307. Y=0
  308. ImageName=shine.png
  309.