Deleting downloaded images on an interval - Rainmeter Forums\nDeleting downloaded images on an interval\njminternelia » May 29th, 2019, 1:11 am\nIs there a way to clear out specific files from a designated folder on a timer?\nAfter a tornado scare, I now have my Weather Radar set up to download overlays for Warning Paths of storm trajectory. I only want these to appear when there's an active warning. I assume it'd be relatively straightforward to simply have the skin automatically delete those specific images at a given interval (say every 15 minutes), that way, since the files can only de downloaded if there is an active warning, there would be no files to download. Is there an easy way to do this?\nRe: Deleting downloaded images on an interval\nbalala » May 29th, 2019, 7:06 am\nMay 29th, 2019, 1:11 am\nNot natively with Rainmeter. Although I'm not sure you really have to clear out the files, here is a way to do this.\nYou have use a RunCommand plugin measure, to do this with a command.\nFor example here is a measure to clear out the MyFile.png file from the @Resources folder. Add the following measure to your code:\nIf you want to remove that file every 15 minutes, add one more measure which runs the above plugin measure from 15 to 15 minutes:\nOnUpdateAction=[!CommandMeasure "MeasureRun" "Run"]\nThis measure is updated every 15 minutes, due to its UpdateDivider=900 option. When updated the OnUpdateAction option is executed, this executes the [MeasureRun] measure as well and this clears the specified file.\nIf you still can't figure out how to handle all this, please post the code you have so far.\njminternelia » May 30th, 2019, 3:58 am\nMay 29th, 2019, 7:06 am\nbalala » May 30th, 2019, 6:05 am\nMay 30th, 2019, 3:58 am\nHave you got it working? I hope so...\njminternelia » June 1st, 2019, 10:57 pm\nMay 30th, 2019, 6:05 am\nIt does, but I discovered another issue that would be better served with an alternate method. I'm still wrapping my head around RexExp.\nEssentially, I want it to download the last 10 instances of EAX_YYYYMMDD_HHMM_Short_Warnings.gif. It downloads the last one three times to play the final frame longer. Why do I want to do this? Because the total number of images available may vary at any given time. The last one is always the most recent. So currently, my expression below will not always return to most recent image available, if at all:\nRegExp=(?siU)"/icons/image2.gif" alt="\_[IMG]">																																														<a href="(.*)"\nInstead, it would make more sense if I could get the RegExp to search backwards and find the first instance of EAX_YYYYMMDD_HHMM_Short_Warnings.gif, and the the second most recent, etc. These are listed by date and time (EAX_20190601_1750_Short_Warnings.gif).\nI have downloaded RainRegExp.\nWhen I currently parse the HTML, this is in the top window:\n<title>Index of /ridge/Warnings/Short/EAX</title>\n
Index of /ridge/Warnings/Short/EAX
\n
	Parent Directory	 	  -
\n
	EAX_20190601_1750_Short_Warnings.gif	01-Jun-2019 17:52  	1.8K
\n
	EAX_20190601_1750_Warnings.gif	01-Jun-2019 17:52  	1.8K
\n
	EAX_20190601_1759_Short_Warnings.gif	01-Jun-2019 18:01  	1.8K
\n
	EAX_20190601_1759_Warnings.gif	01-Jun-2019 18:01  	1.8K
\n
	EAX_20190601_1809_Short_Warnings.gif	01-Jun-2019 18:11  	1.8K
\n
	EAX_20190601_1809_Warnings.gif	01-Jun-2019 18:11  	1.8K
\n
	EAX_20190601_1819_Short_Warnings.gif	01-Jun-2019 18:21  	1.8K
\n
	EAX_20190601_1819_Warnings.gif	01-Jun-2019 18:21  	1.8K
\n
	EAX_20190601_1828_Short_Warnings.gif	01-Jun-2019 18:30  	1.8K
\n
	EAX_20190601_1828_Warnings.gif	01-Jun-2019 18:30  	1.8K
\n
	EAX_20190601_1838_Short_Warnings.gif	01-Jun-2019 18:40  	1.8K
\n
	EAX_20190601_1838_Warnings.gif	01-Jun-2019 18:40  	1.8K
\n
	EAX_20190601_1848_Short_Warnings.gif	01-Jun-2019 18:49  	1.8K
\n
	EAX_20190601_1848_Warnings.gif	01-Jun-2019 18:49  	1.8K
\n
	EAX_20190601_1857_Short_Warnings.gif	01-Jun-2019 18:59  	1.8K
\n
	EAX_20190601_1857_Warnings.gif	01-Jun-2019 18:59  	1.8K
\n
	EAX_20190601_1907_Short_Warnings.gif	01-Jun-2019 19:09  	1.8K
\n
	EAX_20190601_1907_Warnings.gif	01-Jun-2019 19:09  	1.8K
\n
	EAX_20190601_1917_Short_Warnings.gif	01-Jun-2019 19:18  	1.8K
\n
	EAX_20190601_1917_Warnings.gif	01-Jun-2019 19:18  	1.8K
\n
	EAX_20190601_1926_Short_Warnings.gif	01-Jun-2019 19:28  	1.8K
\n
	EAX_20190601_1926_Warnings.gif	01-Jun-2019 19:28  	1.8K
\n
	EAX_20190601_1936_Short_Warnings.gif	01-Jun-2019 19:38  	1.9K
\n
	EAX_20190601_1936_Warnings.gif	01-Jun-2019 19:38  	1.9K
\n
	EAX_20190601_1946_Short_Warnings.gif	01-Jun-2019 19:46  	1.9K
\n
	EAX_20190601_1946_Warnings.gif	01-Jun-2019 19:46  	1.9K
\n
	EAX_20190601_1950_Short_Warnings.gif	01-Jun-2019 19:51  	1.9K
\n
	EAX_20190601_1950_Warnings.gif	01-Jun-2019 19:51  	1.9K
\n
	EAX_20190601_1955_Short_Warnings.gif	01-Jun-2019 19:56  	1.9K
\n
	EAX_20190601_1955_Warnings.gif	01-Jun-2019 19:56  	1.9K
\n
	EAX_20190601_2000_Short_Warnings.gif	01-Jun-2019 20:01  	1.9K
\n
	EAX_20190601_2000_Warnings.gif	01-Jun-2019 20:01  	1.9K
\n
	EAX_20190601_2005_Short_Warnings.gif	01-Jun-2019 20:06  	1.9K
\n
	EAX_20190601_2005_Warnings.gif	01-Jun-2019 20:06  	1.9K
\n
	EAX_20190601_2010_Short_Warnings.gif	01-Jun-2019 20:11  	1.9K
\n
	EAX_20190601_2010_Warnings.gif	01-Jun-2019 20:11  	1.9K
\n
	EAX_20190601_2015_Short_Warnings.gif	01-Jun-2019 20:16  	1.9K
\n
	EAX_20190601_2015_Warnings.gif	01-Jun-2019 20:16  	1.9K
\n
	EAX_20190601_2020_Short_Warnings.gif	01-Jun-2019 20:21  	2.1K
\n
	EAX_20190601_2020_Warnings.gif	01-Jun-2019 20:21  	2.1K
\n
	EAX_20190601_2026_Short_Warnings.gif	01-Jun-2019 20:26  	2.1K
\n
	EAX_20190601_2026_Warnings.gif	01-Jun-2019 20:26  	2.1K
\n
	EAX_20190601_2031_Short_Warnings.gif	01-Jun-2019 20:32  	2.3K
\n
	EAX_20190601_2031_Warnings.gif	01-Jun-2019 20:32  	2.3K
\n
	EAX_20190601_2036_Short_Warnings.gif	01-Jun-2019 20:37  	2.3K
\n
	EAX_20190601_2036_Warnings.gif	01-Jun-2019 20:37  	2.3K
\n
	EAX_20190601_2041_Short_Warnings.gif	01-Jun-2019 20:42  	2.3K
\n
	EAX_20190601_2041_Warnings.gif	01-Jun-2019 20:42  	2.3K
\n
	EAX_20190601_2046_Short_Warnings.gif	01-Jun-2019 20:47  	2.4K
\n
	EAX_20190601_2046_Warnings.gif	01-Jun-2019 20:47  	2.4K
\n
	EAX_20190601_2052_Short_Warnings.gif	01-Jun-2019 20:52  	2.3K
\n
	EAX_20190601_2052_Warnings.gif	01-Jun-2019 20:52  	2.3K
\n
	EAX_20190601_2057_Short_Warnings.gif	01-Jun-2019 20:58  	2.6K
\n
	EAX_20190601_2057_Warnings.gif	01-Jun-2019 20:58  	2.6K
\n
	EAX_20190601_2102_Short_Warnings.gif	01-Jun-2019 21:03  	2.5K
\n
	EAX_20190601_2102_Warnings.gif	01-Jun-2019 21:03  	2.5K
\n
	EAX_20190601_2107_Short_Warnings.gif	01-Jun-2019 21:09  	2.5K
\n
	EAX_20190601_2107_Warnings.gif	01-Jun-2019 21:09  	2.5K
\n
	EAX_20190601_2112_Short_Warnings.gif	01-Jun-2019 21:13  	2.5K
\n
	EAX_20190601_2112_Warnings.gif	01-Jun-2019 21:13  	2.5K
\n
	EAX_20190601_2118_Short_Warnings.gif	01-Jun-2019 21:19  	2.4K
\n
	EAX_20190601_2118_Warnings.gif	01-Jun-2019 21:19  	2.4K
\n
	EAX_20190601_2124_Short_Warnings.gif	01-Jun-2019 21:25  	2.8K
\n
	EAX_20190601_2124_Warnings.gif	01-Jun-2019 21:25  	2.8K
\n
	EAX_20190601_2130_Short_Warnings.gif	01-Jun-2019 21:31  	2.8K
\n
	EAX_20190601_2130_Warnings.gif	01-Jun-2019 21:31  	2.8K
\n
	EAX_20190601_2136_Short_Warnings.gif	01-Jun-2019 21:37  	2.8K
\n
	EAX_20190601_2136_Warnings.gif	01-Jun-2019 21:37  	2.8K
\n
	EAX_20190601_2142_Short_Warnings.gif	01-Jun-2019 21:43  	2.9K
\n
	EAX_20190601_2142_Warnings.gif	01-Jun-2019 21:43  	2.9K
\n
	EAX_20190601_2148_Short_Warnings.gif	01-Jun-2019 21:49  	3.0K
\n
	EAX_20190601_2148_Warnings.gif	01-Jun-2019 21:49  	3.0K
\n
	EAX_20190601_2153_Short_Warnings.gif	01-Jun-2019 21:55  	3.0K
\n
	EAX_20190601_2153_Warnings.gif	01-Jun-2019 21:55  	3.0K
\n
	EAX_20190601_2159_Short_Warnings.gif	01-Jun-2019 22:00  	2.8K
\n
	EAX_20190601_2159_Warnings.gif	01-Jun-2019 22:00  	2.8K
\n
	EAX_20190601_2205_Short_Warnings.gif	01-Jun-2019 22:06  	2.7K
\n
	EAX_20190601_2205_Warnings.gif	01-Jun-2019 22:06  	2.7K
\n
	EAX_20190601_2211_Short_Warnings.gif	01-Jun-2019 22:12  	2.8K
\n
	EAX_20190601_2211_Warnings.gif	01-Jun-2019 22:12  	2.8K
\n
	EAX_20190601_2217_Short_Warnings.gif	01-Jun-2019 22:18  	3.2K
\n
	EAX_20190601_2217_Warnings.gif	01-Jun-2019 22:18  	3.2K
\n
	EAX_20190601_2223_Short_Warnings.gif	01-Jun-2019 22:23  	3.2K
\n
	EAX_20190601_2223_Warnings.gif	01-Jun-2019 22:23  	3.2K
\n
	EAX_20190601_2229_Short_Warnings.gif	01-Jun-2019 22:30  	3.5K
\n
	EAX_20190601_2229_Warnings.gif	01-Jun-2019 22:30  	3.5K
\n<address>Apache Server at radar.weather.gov Port 443</address>\nWhat I want regexp to do is search for and capture the full name of the last 10 instances of EAX_YYYYMMDD_HHMM_Short_Warnings.gif, so in this case:\n1 - EAX_20190601_2229_Short_Warnings.gif\n2 - EAX_20190601_2223_Short_Warnings.gif\n3 - EAX_20190601_2217_Short_Warnings.gif\n4 - EAX_20190601_2205_Short_Warnings.gif\n5 - EAX_20190601_2159_Short_Warnings.gif\n6 - EAX_20190601_2153_Short_Warnings.gif\n7 - EAX_20190601_2148_Short_Warnings.gif\n8 - EAX_20190601_2142_Short_Warnings.gif\n9 - EAX_20190601_2136_Short_Warnings.gif\nI've found that the image will be blank when there are no warnings, and the file downloaded is empty - which is fine, since it doesn't display anything on screen. That actually works in my favor, so long as I could retrieve the most recent image on demand with the right Regular Expression.\nbalala » June 2nd, 2019, 12:04 pm\nYep, it does, but please post the complete code you have so far. Having it would make much easier for us to help.\njminternelia » June 2nd, 2019, 9:41 pm\nRegExp=(?siU)"/icons/image2.gif" alt="\_[IMG]">																																																																																<a href="(.*)"\nbalala » June 3rd, 2019, 1:58 pm\nJune 2nd, 2019, 9:41 pm\nUnfortunately this is still not enough, due to the still missing @Resources\_Variables.inc file. Please post this one as well.\njminternelia » June 3rd, 2019, 5:02 pm\nConditions="Thunderstorms":"Thunderstorms","Windy Rain":"Windy Rain","T-Storms":"T-Storms","Rain Snow":"Rain Snow","Sleet":"Sleet","Snow/Rain Icy Mix":"Snow/Rain Icy Mix","Freezing Drizzle":"Freezing Drizzle","Drizzle":"Drizzle","Freezing Rain":"Freezing Rain","T-Showers":"T-Showers","Showers":"Showers","Light Rain":"Light Rain","Heavy Rain":"Heavy Rain","Snow Flurries":"Snow Flurries","Light Snow":"Light Snow","Snowflakes":"Snowflake","Heavy Snow":"Heavy Snow","Hail":"Hail","Dust":"Dust","Fog":"Fog","Haze":"Haze","Smoke":"Smoke","Windy":"Windy","Frigid":"Frigid","Partly Cloudy":"Partly Cloudy","Cloudy":"Cloudy","Mostly Cloudy":"Mostly Cloudy","Clear":"Clear","Sunny":"Sunny","Fair":"Fair","Mostly Clear":"Mostly Clear","Mostly Sunny":"Mostly Sunny","Hot":"Hot","Isolated Thunder":"Isolated Thunder","Scattered T-Storms":"Scattered T-Storms","Scattered Rain":"Scattered Rain","Scattered Snow":"ScatteredSnow","Windy/Snowy":"Windy/Snowy","Scattered Showers":"Scattered Showers","Snowy":"Snowy","and":"and","Shower":"Shower","Mostly":"Mostly","Scattered":"Scattered","Rain":"Rain","Snow":"Snow","Wind":"Wind","Early":"Early","Late":"Late","PM":"PM","AM":"AM","Sun":"Sun","Cloud":"Cloud","Light":"Light","Snow Shower":"Snow Shower","Widespread":"Widespread","Few":"Few","Isolated":"Isolated","Mist":"Mist","Thunder":"Thunder","with":"with","In the Vicinity":"In the Vicinity","Clouds":"Clouds","Clearing":"Clearing"\nMoonPhase="Full":"Full","Waning Gibbous":"Waning Gibbous","Last Quarter":"Last Quarter","Waning Crescent":"Waning Crescent","New":"New","Waxing Crescent":"Waxing Crescent","First Quarter":"First Quarter","Waxing Gibbous":"Waxing Gibbous","Moon":""\nGreets="00":"Good night","01":"Good night","02":"Good night","03":"Good night","04":"Good night","05":"Good night","06":"Good night","07":"Good morning","08":"Good morning","09":"Good morning","10":"Good morning","11":"Good morning","12":"Good afternoon","13":"Good afternoon","14":"Good afternoon","15":"Good afternoon","16":"Good afternoon","17":"Good afternoon","18":"Good evening","19":"Good evening","20":"Good evening","21":"Good night","22":"Good night","23":"Good night"\nWeather Forecast For=Weather Forecast For\nCurrently is=Currently is\nChance of Precip=Chance of Precip\nMoon Phase=Moon Phase\nUpdated At=Updated At\nWeather Station=Weather Station\nMusic Player=Music Player\nUnknown Artist=Unknown Artist\nUnknown Title=Unknown Title\nPlayer Is Off Or Stopped=Music Player Is Off Or Stopped


Aenēa or Aenīa , ae, f., = Αἴνεια,\nI.a city of Chalcidice, in Macedonia, opposite Pydna, Liv. 40, 4; 44, 10; 32.—Hence,\nA. Aenēātes , ĭum, m., the inhabitants of Ænea, Liv. 40, 4, 4.—\nB. Aenēātĭcus , a, um, adj., belonging to Ænea: “abies,” Plin. 16, 39, 76, § 197.


an ; f. Silk Sídan sericum, Coll. Monast. Th. 27, 7. [O. H. Ger. sída sericum : Ger. seide. From Mid. Lat. seta. Cf. Span. seda : Ital. seta : Fr. soie.] v. síd-wyrm, síden.\nBosworth, Joseph. "síde." An Anglo-Saxon Dictionary: Based on the Manuscript Collections of the Late Joseph Bosworth. Ed. Thomas Northcote Toller. Oxford: Clarendon Press, 1898. 871.\nsíde AddWíde and síde geondsprang (cujus Gloria) longe lateque percrebruit, An. Ox. 2839. Oþ þá ancleów síde (mafortes) talo tenus prolixius (dependunt), 5336.\nsíde I. AddSaga mé on hwæðere Adames sídan nam úre Dryhten ðæt rib ðe hé ðæt wíf of geworhte, Sal. K. 198, 8. II. AddOn sídum húses þínes in lateribus domus tuae, Ps. L. 127, 3. II a. the side of a hill :-- Of þǽre wídgyllan sídan þæs muntes e devexo montis latere, Gr. D. 112, 19. In þæs h