Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.15 KB | None | 0 0
  1. ; ------------------------------------------------------------------------
  2. ; _ ___ _______ _ ___ __ __
  3. ; | | / (_)___ / / __ \ | | / (_)___/ /___ ___ / /______
  4. ; | | /| / / / __ \/ / / / / | | /| / / / __ / __ \/ _ \/ __/ ___/
  5. ; | |/ |/ / / / / / / /_/ / | |/ |/ / / /_/ / /_/ / __/ /_(__ )
  6. ; |__/|__/_/_/ /_/_/\____/ |__/|__/_/\__,_/\__, /\___/\__/____/
  7. ; /____/
  8. ;
  9. ; Win10 Widgets for Rainmeter - Weather (large)
  10. ; Author - TJ Markham, http://tjmarkham.com
  11. ; Website - http://win10widgets.com
  12. ; Donate - http://donate.win10widgets.com
  13. ;
  14. ; ------------------------------------------------------------------------
  15.  
  16. ; Known bug(s):
  17. ; - See Weather-ExtraLarge.ini
  18.  
  19. [Metadata]
  20. Name=Weather (large)
  21. Author=TJ Markham
  22. Information=Displays the current/future weather based on IP location or user-supplied zip code.
  23. License=Creative Commons BY-NC-SA 4.0
  24. Version=1.0.0
  25.  
  26. [Variables]
  27. @Include=Weather-ExtraLarge.ini
  28. BackgroundHeight=-1 //125
  29. PostInputTextYRegular=96
  30. PostInputTextYError=104
  31. PostInputTextY=#PostInputTextYRegular#
  32.  
  33.  
  34. ; ------------------------------------------------------------------------
  35. ; MEASURES
  36. ; ------------------------------------------------------------------------
  37.  
  38. [MeasureLocationWOEID]
  39. OnRegExpErrorAction=[!HideMeter CheckingLocationText][!ShowMeter ErrorText][!SetVariable PostInputTextY #PostInputTextYError#][!UpdateMeter PostInputText]
  40.  
  41. [MeasureFeelsLike]
  42. Disabled=1
  43. Group=DisabledMeasures
  44.  
  45. [MeasureFeelsLikeF]
  46. Disabled=1
  47. Group=DisabledMeasures
  48.  
  49. [MeasureFeelsLikeC]
  50. Disabled=1
  51. Group=DisabledMeasures
  52.  
  53. [MeasureWindDirection]
  54. Disabled=1
  55. Group=DisabledMeasures
  56.  
  57. [MeasureWindSpeed]
  58. Disabled=1
  59. Group=DisabledMeasures
  60.  
  61. [MeasureWindSpeedKPH]
  62. Disabled=1
  63. Group=DisabledMeasures
  64.  
  65. [MeasureWindSpeedMPH]
  66. Disabled=1
  67. Group=DisabledMeasures
  68.  
  69. [MeasureHumidity]
  70. Disabled=1
  71. Group=DisabledMeasures
  72.  
  73. [MeasureVisibility]
  74. Disabled=1
  75. Group=DisabledMeasures
  76.  
  77. [MeasureVisibilityKM]
  78. Disabled=1
  79. Group=DisabledMeasures
  80.  
  81. [MeasureVisibilityMI]
  82. Disabled=1
  83. Group=DisabledMeasures
  84.  
  85. [MeasureBarometer]
  86. Disabled=1
  87. Group=DisabledMeasures
  88.  
  89. [MeasureBarometerMB]
  90. Disabled=1
  91. Group=DisabledMeasures
  92.  
  93. [MeasureBarometerIN]
  94. Disabled=1
  95. Group=DisabledMeasures
  96.  
  97. [MeasureSunrise12]
  98. Disabled=1
  99. Group=DisabledMeasures
  100.  
  101. [MeasureSunriseHour]
  102. Disabled=1
  103. Group=DisabledMeasures
  104.  
  105. [MeasureSunriseMinute]
  106. Disabled=1
  107. Group=DisabledMeasures
  108.  
  109. [MeasureSunriseAMPM]
  110. Disabled=1
  111. Group=DisabledMeasures
  112.  
  113. [MeasureSunriseHour24]
  114. Disabled=1
  115. Group=DisabledMeasures
  116.  
  117. [MeasureSunrise24]
  118. Disabled=1
  119. Group=DisabledMeasures
  120.  
  121. [MeasureSunset12]
  122. Disabled=1
  123. Group=DisabledMeasures
  124.  
  125. [MeasureSunsetHour]
  126. Disabled=1
  127. Group=DisabledMeasures
  128.  
  129. [MeasureSunsetMinute]
  130. Disabled=1
  131. Group=DisabledMeasures
  132.  
  133. [MeasureSunsetAMPM]
  134. Disabled=1
  135. Group=DisabledMeasures
  136.  
  137. [MeasureSunsetHour24]
  138. Disabled=1
  139. Group=DisabledMeasures
  140.  
  141. [MeasureSunset24]
  142. Disabled=1
  143. Group=DisabledMeasures
  144.  
  145. [MeasureDay5]
  146. Disabled=1
  147. Group=DisabledMeasures
  148.  
  149. [MeasureDay5Low]
  150. Disabled=1
  151. Group=DisabledMeasures
  152.  
  153. [MeasureDay5LowF]
  154. Disabled=1
  155. Group=DisabledMeasures
  156.  
  157. [MeasureDay5LowC]
  158. Disabled=1
  159. Group=DisabledMeasures
  160.  
  161. [MeasureDay5High]
  162. Disabled=1
  163. Group=DisabledMeasures
  164.  
  165. [MeasureDay5HighF]
  166. Disabled=1
  167. Group=DisabledMeasures
  168.  
  169. [MeasureDay5HighC]
  170. Disabled=1
  171. Group=DisabledMeasures
  172.  
  173. [MeasureDay5Code]
  174. Disabled=1
  175. Group=DisabledMeasures
  176.  
  177. [MeasureLocationInput]
  178. Command1=[!HideMeter LocationInputBorder][!SetOption MeasureLocationInput DefaultValue "$UserInput$"][!SetOption LocationInputOverlay Text "[MeasureLocationInput]"][!UpdateMeter LocationInputOverlay][!SetVariable WOEIDurl "#WOEIDurlPart1#[MeasureLocationInput]#WOEIDurlPart2#"][!HideMeter ErrorText][!ShowMeter CheckingLocationText][!SetVariable PostInputTextY #PostInputTextYError#][!UpdateMeter PostInputText][!UpdateMeasure MeasureLocationWOEID]
  179.  
  180.  
  181. ; ------------------------------------------------------------------------
  182. ; METERS
  183. ; ------------------------------------------------------------------------
  184.  
  185. [RetrievingWeather]
  186. Y=45
  187.  
  188.  
  189. ; ------------------------------------------------------------------------
  190. ; METERS - Current Conditions
  191. ; ------------------------------------------------------------------------
  192.  
  193. [MeterForecastImage]
  194.  
  195. [MeterForecastText]
  196. ClipStringW=110
  197.  
  198. [MeterTemp]
  199.  
  200. [MeterTempUnit]
  201.  
  202.  
  203. ; ------------------------------------------------------------------------
  204. ; METERS - Forecast
  205. ; ------------------------------------------------------------------------
  206.  
  207. [MeterDay1Image]
  208. X=198
  209. Y=39
  210.  
  211. [MeterDay1]
  212.  
  213. [MeterDay1High]
  214.  
  215. [MeterDay1Low]
  216.  
  217. [MeterDay2Image]
  218.  
  219. [MeterDay2]
  220.  
  221. [MeterDay2High]
  222.  
  223. [MeterDay2Low]
  224.  
  225. [MeterDay3Image]
  226.  
  227. [MeterDay3]
  228.  
  229. [MeterDay3High]
  230.  
  231. [MeterDay3Low]
  232.  
  233. [MeterDay4Image]
  234.  
  235. [MeterDay4]
  236.  
  237. [MeterDay4High]
  238.  
  239. [MeterDay4Low]
  240.  
  241. [MeterDay5Image]
  242. X=0
  243. Y=0
  244. Group=HiddenMeters
  245. Hidden=1
  246.  
  247. [MeterDay5]
  248. X=0
  249. Y=0
  250. Group=HiddenMeters
  251. Hidden=1
  252.  
  253. [MeterDay5High]
  254. X=0
  255. Y=0
  256. Group=HiddenMeters
  257. Hidden=1
  258.  
  259. [MeterDay5Low]
  260. X=0
  261. Y=0
  262. Group=HiddenMeters
  263. Hidden=1
  264.  
  265.  
  266. ; ------------------------------------------------------------------------
  267. ; METERS - Side Labels
  268. ; ------------------------------------------------------------------------
  269.  
  270. [FeelsLikeLabel]
  271. X=0
  272. Y=0
  273. Group=HiddenMeters
  274. Hidden=1
  275.  
  276. [WindLabel]
  277. X=0
  278. Y=0
  279. Group=HiddenMeters
  280. Hidden=1
  281.  
  282. [VisibilityLabel]
  283. X=0
  284. Y=0
  285. Group=HiddenMeters
  286. Hidden=1
  287.  
  288. [BarometerLabel]
  289. X=0
  290. Y=0
  291. Group=HiddenMeters
  292. Hidden=1
  293.  
  294. [HumidityLabel]
  295. X=0
  296. Y=0
  297. Group=HiddenMeters
  298. Hidden=1
  299.  
  300. [SunriseLabel]
  301. X=0
  302. Y=0
  303. Group=HiddenMeters
  304. Hidden=1
  305.  
  306. [SunsetLabel]
  307. X=0
  308. Y=0
  309. Group=HiddenMeters
  310. Hidden=1
  311.  
  312. [MeterUpdatedTime]
  313. MeterStyle=StyleTinyText | StyleCenterAlign
  314. X=43
  315. Y=93
  316. Text="%1"
  317.  
  318. [MeterLocation]
  319. MeterStyle=StyleTinyText | StyleLeftAlign
  320. X=81
  321. Y=0r
  322. ClipStringW=118
  323.  
  324.  
  325. ; ------------------------------------------------------------------------
  326. ; METERS - Side Values
  327. ; ------------------------------------------------------------------------
  328.  
  329. [MeterFeelsLike]
  330. X=0
  331. Y=0
  332. Group=HiddenMeters
  333. Hidden=1
  334.  
  335. [MeterWindDirection]
  336. X=0
  337. Y=0
  338. Group=HiddenMeters
  339. Hidden=1
  340.  
  341. [MeterWind]
  342. X=0
  343. Y=0
  344. Group=HiddenMeters
  345. Hidden=1
  346.  
  347. [MeterVisibility]
  348. X=0
  349. Y=0
  350. Group=HiddenMeters
  351. Hidden=1
  352.  
  353. [MeterBarometer]
  354. X=0
  355. Y=0
  356. Group=HiddenMeters
  357. Hidden=1
  358.  
  359. [MeterHumidity]
  360. X=0
  361. Y=0
  362. Group=HiddenMeters
  363. Hidden=1
  364.  
  365. [MeterSunrise]
  366. X=0
  367. Y=0
  368. Group=HiddenMeters
  369. Hidden=1
  370.  
  371. [MeterSunset]
  372. X=0
  373. Y=0
  374. Group=HiddenMeters
  375. Hidden=1
  376.  
  377.  
  378. ; ------------------------------------------------------------------------
  379. ; METERS - Refresh overlay
  380. ; ------------------------------------------------------------------------
  381.  
  382. [RefreshBackground]
  383.  
  384. [PreButtonText1]
  385. Y=17
  386.  
  387. [PreButtonText2]
  388. MeterStyle=StyleTinyText | StyleWhiteText | StyleCenterAlign
  389.  
  390. [RefreshButtonEdge]
  391.  
  392. [RefreshButton]
  393. Y=([PreButtonText1:Y]+55)
  394.  
  395. [RefreshButtonHoverEdge]
  396.  
  397. [RefreshButtonCenter]
  398.  
  399. [RefreshButtonText]
  400.  
  401.  
  402. ; ------------------------------------------------------------------------
  403. ; METERS - Location overlay
  404. ; ------------------------------------------------------------------------
  405.  
  406. [LocationBackground]
  407. LeftMouseUpAction=[!SetVariable PostInputTextY #PostInputTextYRegular#][!UpdateMeter PostInputText][!HideMeterGroup LocationOverlay][!HideMeter CheckingLocationText][!HideMeter ErrorText]
  408.  
  409. [PreInputText1]
  410. MeterStyle=StyleTinyText | StyleWhiteText | StyleCenterAlign
  411. Y=10
  412. Text="Enter location using "Zip code," "City, State,""
  413.  
  414. [PreInputText2]
  415. MeterStyle=StyleTinyText | StyleWhiteText | StyleCenterAlign
  416. Y=0R
  417. Text="or "City, Country" formatting."
  418.  
  419. [LocationInputOverlayBorder]
  420. Y=([PreInputText1:Y]+43)
  421.  
  422. [CheckingLocationText]
  423. MeterStyle=StyleTinyText | StyleWhiteText | StyleCenterAlign | StyleWindowsColorText
  424. Y=2R
  425. Text="Searching for location..."
  426. FontSize=9
  427.  
  428. [ErrorText]
  429. MeterStyle=StyleTinyText | StyleCenterAlign | StyleErrorText
  430. Text="Error: Location not found. Please try again."
  431. FontSize=9
  432.  
  433. [PostInputText]
  434. MeterStyle=StyleSmallText | StyleWhiteText | StyleCenterAlign
  435. Y=#PostInputTextY#
  436. Text="(Click outside text box to cancel; press "Enter" to confirm.)"
  437. FontSize=8
  438.  
  439. [LocationInputBorder]
  440.  
  441. [LocationInputOverlay]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement