It is currently March 28th, 2024, 10:05 pm

Deduct Minutes from a time

General topics related to Rainmeter.
Matth
Posts: 54
Joined: May 17th, 2017, 8:43 am

Deduct Minutes from a time

Post by Matth »

Hi

I tried to Google this and searched here in the forum, but can't seem to figure out how it's done.

I would like to establish a time, round it down to ten minutes, and then deduct 40 Minutes from that time. At the end I would need a string in the format of %d%H%M that should be something like 251300 (for 25th day at 13:00).

I can create the required string, except I don't know how to deduct the 40 minutes from that time:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1

[MeaserDate]
Measure=Time
Format=%d
TimeZone=0
DynamicVariables=1

[MeasureHour]
Measure=Time
Format=%H
TimeZone=0
DynamicVariables=1

[MeasureMinute]
Measure=Time
Format=%M
TimeZone=0
DynamicVariables=1

[MeasureMin]
Measure=Calc
Formula=(Floor([MeasureMinute]/10)*10)
DynamicVariables=1
IfConditionMode=1
IfCondition=(MeasureMin=0)
IfTrueAction=[!SetVariable BaseTime "[MeaserDate][MeasureHour]00"]
IfFalseAction=[!SetVariable BaseTime "[MeaserDate][MeasureHour][MeasureMin]"]

[MeasureBT]
Measure=String
String=#BaseTime#
DynamicVariables=1

[MeterBT]
Meter=String
MeasureName=MeasureBT
Text=%1
FontColor=255,255,255,255
AntiAlias=1
Matth
Posts: 54
Joined: May 17th, 2017, 8:43 am

Re: Deduct Minutes from a time

Post by Matth »

I'm not quite sure yet if it works all the time, but it seems I found a solution, which looks like this.

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1

[MeaserDate]
Measure=Time
Format=%d
TimeZone=0
DynamicVariables=1

[MeasureHour]
Measure=Time
Format=%H
TimeZone=0
DynamicVariables=1

[MeasureMinute]
Measure=Time
Format=%M
TimeZone=0
DynamicVariables=1

[MeasureMin]
Measure=Calc
Formula=(Floor([MeasureMinute]/10)*10)
DynamicVariables=1
IfConditionMode=1
IfCondition=(MeasureMin=0)
IfTrueAction=[!SetVariable BaseTime "[MeaserDate][MeasureHour]00"]
IfFalseAction=[!SetVariable BaseTime "[MeaserDate][MeasureHour][MeasureMin]"]

[NewTime]
Measure=Calc
Formula=([MeasureHour]*60 + [MeasureMinute]) - 40
IfConditionMode=1
IfCondition=([NewTime]<0)
IfTrueAction=[!SetVariable NewTimeA "[NewTime]+1440"][!SetVariable NewDate "[MeaserDate]-1"]
IfFalseAction=[!SetVariable NewTimeA "[NewTime]"][!SetVariable NewDate "[MeaserDate]"]
DynamicVariables=1

[NewTimeH]
Measure=Calc
Formula=Trunc(#NewTimeA#/60)
DynamicVariables=1

[NewTimeM]
Measure=Calc
Formula=(Floor((#NewTimeA# - [NewTimeH]*60)/10)*10)
DynamicVariables=1
IfConditionMode=1
IfCondition=(NewTimeM=0)
IfTrueAction=[!SetVariable NewTime "#NewDate#[NewTimeH]00"]
IfFalseAction=[!SetVariable NewTime "#NewDate#[NewTimeH][NewTimeM]"]
DynamicVariables=1

[MeasureBT]
Measure=String
String=#BaseTime#
DynamicVariables=1

[MeasureNT]
Measure=String
String=#NewTime#
DynamicVariables=1

[MeterBT]
Meter=String
MeasureName=MeasureBT
MeasureName2=MeasureNT
Text=Base string:%1 | New string:%2
FontColor=255,255,255,255
AntiAlias=1
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Deduct Minutes from a time

Post by balala »

Your own solution has one major problem: it fails a few minutes after the midnight is passing in the appropriate time zone. So, I propose another.

So, first create a variable (I named it Sub, as Subtract, but obviously you can name it as you want). This will be the number of seconds (be careful: not minutes!) which will be extracted from the rounded down time:

Code: Select all

[Variables]
Sub=2400
Add a general Time measure, with no set format:

Code: Select all

[MeasureTime]
Measure=Time
TimeZone=0
Then add to each of the [MeaserDate], [MeasureHour] and [MeasureMinute] measures, the following option: TimeStamp=([MeasureTime:]-#Sub#). Note here that the DynamicVariables=1 option, initially set on these measures, wasn't needed, but now, after adding this option, it is.
Now the BaseTime variable returns the needed, new, "subtracted" value, which will work in every situation, even a few minutes after the midnight is passing in the appropriate time zone.
Matth
Posts: 54
Joined: May 17th, 2017, 8:43 am

Re: Deduct Minutes from a time

Post by Matth »

Your solution is so much more elegant, I agree. :bow:

I have included that in my project and it works just flawless. After quite some testing and trial and error, it seems that my new skin works pretty well. The only thing I am struggling right now is the triggering of a new download.

The skin (should) download every 10 minutes a new file (satellite images) and then show the downloaded files one after the other. Pretty much what you did here https://forum.rainmeter.net/viewtopic.php?p=129919#p129919. But I don't want to download every time 144 images, but only the latest, yet I still want the development of the last 24 hours. It seems the display part now works.

With your time difference calculation I put together two strings for the changing file names of the satellite images. That part also works. Now every time the string changes in [MeasureNTUTC], it updates the URL and then should trigger the download of a new image. But this does not seem to work, although in the debug log, I can see the values change. What am I missing?

Code: Select all

[Rainmeter]
Update=250
AccurateText=1

[Variables]
;Subtract 40 minutes (in seconds) from the current time, as the satellite images are provided with a delay
SubHKG=2400
;Subtract 50 minutes (in seconds) from the current time, as the HKG observatory probably needs a 10 minute timeframe
SubUTC=3000
;previous BaseStringUTC value. If the value is not the same, a new file has to be downloaded
pBSUTC=0
;Variables for each File (max. 144/each 10 minutes in a 24 hour day)
imgWidth=300
MeaC1	=
MeaC2	=
MeaC3	=
MeaC4	=
MeaC5	=
MeaC6	=
MeaC7	=
MeaC8	=
MeaC9	=
MeaC10	=
MeaC11	=
MeaC12	=
MeaC13	=
MeaC14	=
MeaC15	=
MeaC16	=
MeaC17	=
MeaC18	=
MeaC19	=
MeaC20	=
MeaC21	=
MeaC22	=
MeaC23	=
MeaC24	=
MeaC25	=
MeaC26	=
MeaC27	=
MeaC28	=
MeaC29	=
MeaC30	=
MeaC31	=
MeaC32	=
MeaC33	=
MeaC34	=
MeaC35	=
MeaC36	=
MeaC37	=
MeaC38	=
MeaC39	=
MeaC40	=
MeaC41	=
MeaC42	=
MeaC43	=
MeaC44	=
MeaC45	=
MeaC46	=
MeaC47	=
MeaC48	=
MeaC49	=
MeaC50	=
MeaC51	=
MeaC52	=
MeaC53	=
MeaC54	=
MeaC55	=
MeaC56	=
MeaC57	=
MeaC58	=
MeaC59	=
MeaC60	=
MeaC61	=
MeaC62	=
MeaC63	=
MeaC64	=
MeaC65	=
MeaC66	=
MeaC67	=
MeaC68	=
MeaC69	=
MeaC70	=
MeaC71	=
MeaC72	=
MeaC73	=
MeaC74	=
MeaC75	=
MeaC76	=
MeaC77	=
MeaC78	=
MeaC79	=
MeaC80	=
MeaC81	=
MeaC82	=
MeaC83	=
MeaC84	=
MeaC85	=
MeaC86	=
MeaC87	=
MeaC88	=
MeaC89	=
MeaC90	=
MeaC91	=
MeaC92	=
MeaC93	=
MeaC94	=
MeaC95	=
MeaC96	=
MeaC97	=
MeaC98	=
MeaC99	=
MeaC100	=
MeaC101	=
MeaC102	=
MeaC103	=
MeaC104	=
MeaC105	=
MeaC106	=
MeaC107	=
MeaC108	=
MeaC109	=
MeaC110	=
MeaC111	=
MeaC112	=
MeaC113	=
MeaC114	=
MeaC115	=
MeaC116	=
MeaC117	=
MeaC118	=
MeaC119	=
MeaC120	=
MeaC121	=
MeaC122	=
MeaC123	=
MeaC124	=
MeaC125	=
MeaC126	=
MeaC127	=
MeaC128	=
MeaC129	=
MeaC130	=
MeaC131	=
MeaC132	=
MeaC133	=
MeaC134	=
MeaC135	=
MeaC136	=
MeaC137	=
MeaC138	=
MeaC139	=
MeaC140	=
MeaC141	=
MeaC142	=
MeaC143	=
MeaC144	=

;[MeasureScript]
;Measure=Script
;ScriptFile=#@#MeaFiles.lua

[MeasureTimeHKG]
;Current local time in HKG 
Measure=Time
TimeZone=+8

[MeasureDate]
;The Date less the time subtracted
Measure=Time
Timestamp=([MeasureTimeHKG:]-#SubHKG#)
Format=%Y%m%d
TimeZone=+8
DynamicVariables=1

[MeasureHour]
;The Hour less the time subtracted
Measure=Time
Timestamp=([MeasureTimeHKG:]-#SubHKG#)
Format=%H
TimeZone=+8
DynamicVariables=1

[MeasureMinute]
;The Minute less the time subtracted
Measure=Time
Timestamp=([MeasureTimeHKG:]-#SubHKG#)
Format=%M
TimeZone=+8
DynamicVariables=1

[MeasureMin]
;Rounded down minute to next 10
Measure=Calc
Formula=Floor([MeasureMinute]/10)*10
DynamicVariables=1
;On the full hour, use a 00 for the minutes instead of a single 0
IfConditionMode=1
IfCondition=(MeasureMin=0)
IfTrueAction=[!SetVariable BaseString "[MeasureDate][MeasureHour]00"][!SetVariable BaseTime "[MeasureHour]00"]
IfFalseAction=[!SetVariable BaseString "[MeasureDate][MeasureHour][MeasureMin]"][!SetVariable BaseTime "[MeasureHour][MeasureMin]"]

[MeasureNTHKG]
Measure=String
String=#BaseString#
DynamicVariables=1

[MeasureTimeUTC]
;Same calculation for the UTC time (second part in the satellite filename)
Measure=Time
TimeZone=0

[MeasureDateUTC]
Measure=Time
Timestamp=([MeasureTimeUTC:]-#SubUTC#)
Format=%d
TimeZone=0
DynamicVariables=1

[MeasureHourUTC]
Measure=Time
Timestamp=([MeasureTimeUTC:]-#SubUTC#)
Format=%H
TimeZone=0
DynamicVariables=1

[MeasureMinuteUTC]
Measure=Time
Timestamp=([MeasureTimeUTC:]-#SubUTC#)
Format=%M
TimeZone=0
DynamicVariables=1

[MeasureMinUTC]
Measure=Calc
Formula=Floor([MeasureMinuteUTC]/10)*10
DynamicVariables=1
IfConditionMode=1
IfCondition=(MeasureMinUTC=0)
IfTrueAction=[!SetVariable BaseStringUTC "[MeasureDateUTC][MeasureHourUTC]00"]
IfFalseAction=[!SetVariable BaseStringUTC "[MeasureDateUTC][MeasureHourUTC][MeasureMinUTC]"]

[MeasureNTUTC]
Measure=String
String=#BaseStringUTC#
DynamicVariables=1
;If the time changes (next 10 minutes) update the URL and trigger the download for a new file
IfConditionMode=1
IfCondition=([MeasureNTUTC] <> #pBSUTC#)
IfTrueAction=[!SetVariable pBSUTC "[MeasureNTUTC]"][!SetVariable rURL "http://www.weather.gov.hk/wxinfo/intersat/satellite/image/e_infrared/[MeasureNTHKG]+[MeasureNTUTC]H08.nb_x8M--L1B.H08_IR1_coast.png"][!UpdateMeasure "RadarMeasure"]

[RadarMeasure]
;Downloads the image every 10 minutes
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateDivider=-1
Url=#rURL#
Download=1
DynamicVariables=1
DownloadFile="radar#BaseTime#.png"
;Start 
FinishAction=[!EnableMeasureGroup "Images"][!UpdateMeasureGroup "Images"][!EnableMeasure "MeasureTimer"][!ShowMeterGroup "ImgDat"]

[MeaFolder]
;Checks max 144 files in the folder
Measure=Plugin
Plugin=FileView
Path="C:\Users\Matth\Documents\Rainmeter\Skins\NewFolder\DownloadFile"
ShowDotDot=0
ShowFolder=0
Count=144
Group=Images
Disabled=1

[MeaC1]
;One measure for each possible file in the folder
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=1
Group=Images
Disabled=1
;Checks if the filename is empty, then set the variable to 0, otherwise to 1 (should the file/measure be shown or not)
IfMatch=^$
IfMatchAction=[!SetVariable MeaC1 "0"]
IfNotMatchAction=[!SetVariable MeaC1 "1"]

[MeaC2]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=2
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC2 "0"]
IfNotMatchAction=[!SetVariable MeaC2 "1"]

[MeaC3]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=3
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC3 "0"]
IfNotMatchAction=[!SetVariable MeaC3 "1"]

[MeaC4]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=4
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC4 "0"]
IfNotMatchAction=[!SetVariable MeaC4 "1"]

[MeaC5]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=5
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC5 "0"]
IfNotMatchAction=[!SetVariable MeaC5 "1"]

[MeaC6]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=6
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC6 "0"]
IfNotMatchAction=[!SetVariable MeaC6 "1"]

[MeaC7]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=7
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC7 "0"]
IfNotMatchAction=[!SetVariable MeaC7 "1"]

[MeaC8]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=8
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC8 "0"]
IfNotMatchAction=[!SetVariable MeaC8 "1"]

[MeaC9]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=9
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC9 "0"]
IfNotMatchAction=[!SetVariable MeaC9 "1"]

[MeaC10]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=10
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC10 "0"]
IfNotMatchAction=[!SetVariable MeaC10 "1"]

[MeaC11]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=11
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC11 "0"]
IfNotMatchAction=[!SetVariable MeaC11 "1"]

[MeaC12]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=12
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC12 "0"]
IfNotMatchAction=[!SetVariable MeaC12 "1"]

[MeaC13]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=13
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC13 "0"]
IfNotMatchAction=[!SetVariable MeaC13 "1"]

[MeaC14]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=14
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC14 "0"]
IfNotMatchAction=[!SetVariable MeaC14 "1"]

[MeaC15]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=15
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC15 "0"]
IfNotMatchAction=[!SetVariable MeaC15 "1"]

[MeaC16]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=16
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC16 "0"]
IfNotMatchAction=[!SetVariable MeaC16 "1"]

[MeaC17]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=17
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC17 "0"]
IfNotMatchAction=[!SetVariable MeaC17 "1"]

[MeaC18]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=18
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC18 "0"]
IfNotMatchAction=[!SetVariable MeaC18 "1"]

[MeaC19]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=19
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC19 "0"]
IfNotMatchAction=[!SetVariable MeaC19 "1"]

[MeaC20]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=20
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC20 "0"]
IfNotMatchAction=[!SetVariable MeaC20 "1"]

[MeaC21]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=21
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC21 "0"]
IfNotMatchAction=[!SetVariable MeaC21 "1"]

[MeaC22]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=22
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC22 "0"]
IfNotMatchAction=[!SetVariable MeaC22 "1"]

[MeaC23]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=23
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC23 "0"]
IfNotMatchAction=[!SetVariable MeaC23 "1"]

[MeaC24]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=24
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC24 "0"]
IfNotMatchAction=[!SetVariable MeaC24 "1"]

[MeaC25]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=25
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC25 "0"]
IfNotMatchAction=[!SetVariable MeaC25 "1"]

[MeaC26]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=26
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC26 "0"]
IfNotMatchAction=[!SetVariable MeaC26 "1"]

[MeaC27]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=27
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC27 "0"]
IfNotMatchAction=[!SetVariable MeaC27 "1"]

[MeaC28]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=28
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC28 "0"]
IfNotMatchAction=[!SetVariable MeaC28 "1"]

[MeaC29]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=29
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC29 "0"]
IfNotMatchAction=[!SetVariable MeaC29 "1"]

[MeaC30]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=30
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC30 "0"]
IfNotMatchAction=[!SetVariable MeaC30 "1"]

[MeaC31]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=31
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC31 "0"]
IfNotMatchAction=[!SetVariable MeaC31 "1"]

[MeaC32]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=32
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC32 "0"]
IfNotMatchAction=[!SetVariable MeaC32 "1"]

[MeaC33]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=33
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC33 "0"]
IfNotMatchAction=[!SetVariable MeaC33 "1"]

[MeaC34]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=34
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC34 "0"]
IfNotMatchAction=[!SetVariable MeaC34 "1"]

[MeaC35]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=35
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC35 "0"]
IfNotMatchAction=[!SetVariable MeaC35 "1"]

[MeaC36]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=36
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC36 "0"]
IfNotMatchAction=[!SetVariable MeaC36 "1"]

[MeaC37]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=37
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC37 "0"]
IfNotMatchAction=[!SetVariable MeaC37 "1"]

[MeaC38]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=38
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC38 "0"]
IfNotMatchAction=[!SetVariable MeaC38 "1"]

[MeaC39]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=39
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC39 "0"]
IfNotMatchAction=[!SetVariable MeaC39 "1"]

[MeaC40]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=40
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC40 "0"]
IfNotMatchAction=[!SetVariable MeaC40 "1"]

[MeaC41]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=41
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC41 "0"]
IfNotMatchAction=[!SetVariable MeaC41 "1"]

[MeaC42]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=42
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC42 "0"]
IfNotMatchAction=[!SetVariable MeaC42 "1"]

[MeaC43]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=43
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC43 "0"]
IfNotMatchAction=[!SetVariable MeaC43 "1"]

[MeaC44]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=44
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC44 "0"]
IfNotMatchAction=[!SetVariable MeaC44 "1"]

[MeaC45]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=45
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC45 "0"]
IfNotMatchAction=[!SetVariable MeaC45 "1"]

[MeaC46]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=46
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC46 "0"]
IfNotMatchAction=[!SetVariable MeaC46 "1"]

[MeaC47]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=47
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC47 "0"]
IfNotMatchAction=[!SetVariable MeaC47 "1"]

[MeaC48]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=48
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC48 "0"]
IfNotMatchAction=[!SetVariable MeaC48 "1"]

[MeaC49]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=49
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC49 "0"]
IfNotMatchAction=[!SetVariable MeaC49 "1"]

[MeaC50]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=50
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC50 "0"]
IfNotMatchAction=[!SetVariable MeaC50 "1"]

[MeaC51]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=51
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC51 "0"]
IfNotMatchAction=[!SetVariable MeaC51 "1"]

[MeaC52]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=52
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC52 "0"]
IfNotMatchAction=[!SetVariable MeaC52 "1"]

[MeaC53]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=53
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC53 "0"]
IfNotMatchAction=[!SetVariable MeaC53 "1"]

[MeaC54]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=54
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC54 "0"]
IfNotMatchAction=[!SetVariable MeaC54 "1"]

[MeaC55]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=55
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC55 "0"]
IfNotMatchAction=[!SetVariable MeaC55 "1"]

[MeaC56]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=56
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC56 "0"]
IfNotMatchAction=[!SetVariable MeaC56 "1"]

[MeaC57]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=57
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC57 "0"]
IfNotMatchAction=[!SetVariable MeaC57 "1"]

[MeaC58]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=58
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC58 "0"]
IfNotMatchAction=[!SetVariable MeaC58 "1"]

[MeaC59]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=59
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC59 "0"]
IfNotMatchAction=[!SetVariable MeaC59 "1"]

[MeaC60]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=60
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC60 "0"]
IfNotMatchAction=[!SetVariable MeaC60 "1"]

[MeaC61]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=61
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC61 "0"]
IfNotMatchAction=[!SetVariable MeaC61 "1"]

[MeaC62]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=62
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC62 "0"]
IfNotMatchAction=[!SetVariable MeaC62 "1"]

[MeaC63]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=63
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC63 "0"]
IfNotMatchAction=[!SetVariable MeaC63 "1"]

[MeaC64]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=64
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC64 "0"]
IfNotMatchAction=[!SetVariable MeaC64 "1"]

[MeaC65]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=65
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC65 "0"]
IfNotMatchAction=[!SetVariable MeaC65 "1"]

[MeaC66]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=66
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC66 "0"]
IfNotMatchAction=[!SetVariable MeaC66 "1"]

[MeaC67]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=67
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC67 "0"]
IfNotMatchAction=[!SetVariable MeaC67 "1"]

[MeaC68]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=68
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC68 "0"]
IfNotMatchAction=[!SetVariable MeaC68 "1"]

[MeaC69]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=69
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC69 "0"]
IfNotMatchAction=[!SetVariable MeaC69 "1"]

[MeaC70]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=70
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC70 "0"]
IfNotMatchAction=[!SetVariable MeaC70 "1"]

[MeaC71]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=71
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC71 "0"]
IfNotMatchAction=[!SetVariable MeaC71 "1"]

[MeaC72]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=72
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC72 "0"]
IfNotMatchAction=[!SetVariable MeaC72 "1"]

[MeaC73]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=73
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC73 "0"]
IfNotMatchAction=[!SetVariable MeaC73 "1"]

[MeaC74]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=74
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC74 "0"]
IfNotMatchAction=[!SetVariable MeaC74 "1"]

[MeaC75]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=75
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC75 "0"]
IfNotMatchAction=[!SetVariable MeaC75 "1"]

[MeaC76]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=76
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC76 "0"]
IfNotMatchAction=[!SetVariable MeaC76 "1"]

[MeaC77]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=77
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC77 "0"]
IfNotMatchAction=[!SetVariable MeaC77 "1"]

[MeaC78]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=78
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC78 "0"]
IfNotMatchAction=[!SetVariable MeaC78 "1"]

[MeaC79]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=79
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC79 "0"]
IfNotMatchAction=[!SetVariable MeaC79 "1"]

[MeaC80]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=80
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC80 "0"]
IfNotMatchAction=[!SetVariable MeaC80 "1"]

[MeaC81]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=81
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC81 "0"]
IfNotMatchAction=[!SetVariable MeaC81 "1"]

[MeaC82]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=82
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC82 "0"]
IfNotMatchAction=[!SetVariable MeaC82 "1"]

[MeaC83]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=83
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC83 "0"]
IfNotMatchAction=[!SetVariable MeaC83 "1"]

[MeaC84]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=84
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC84 "0"]
IfNotMatchAction=[!SetVariable MeaC84 "1"]

[MeaC85]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=85
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC85 "0"]
IfNotMatchAction=[!SetVariable MeaC85 "1"]

[MeaC86]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=86
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC86 "0"]
IfNotMatchAction=[!SetVariable MeaC86 "1"]

[MeaC87]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=87
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC87 "0"]
IfNotMatchAction=[!SetVariable MeaC87 "1"]

[MeaC88]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=88
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC88 "0"]
IfNotMatchAction=[!SetVariable MeaC88 "1"]

[MeaC89]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=89
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC89 "0"]
IfNotMatchAction=[!SetVariable MeaC89 "1"]

[MeaC90]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=90
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC90 "0"]
IfNotMatchAction=[!SetVariable MeaC90 "1"]

[MeaC91]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=91
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC91 "0"]
IfNotMatchAction=[!SetVariable MeaC91 "1"]

[MeaC92]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=92
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC92 "0"]
IfNotMatchAction=[!SetVariable MeaC92 "1"]

[MeaC93]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=93
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC93 "0"]
IfNotMatchAction=[!SetVariable MeaC93 "1"]

[MeaC94]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=94
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC94 "0"]
IfNotMatchAction=[!SetVariable MeaC94 "1"]

[MeaC95]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=95
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC95 "0"]
IfNotMatchAction=[!SetVariable MeaC95 "1"]

[MeaC96]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=96
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC96 "0"]
IfNotMatchAction=[!SetVariable MeaC96 "1"]

[MeaC97]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=97
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC97 "0"]
IfNotMatchAction=[!SetVariable MeaC97 "1"]

[MeaC98]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=98
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC98 "0"]
IfNotMatchAction=[!SetVariable MeaC98 "1"]

[MeaC99]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=99
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC99 "0"]
IfNotMatchAction=[!SetVariable MeaC99 "1"]

[MeaC100]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=100
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC100 "0"]
IfNotMatchAction=[!SetVariable MeaC100 "1"]

[MeaC101]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=101
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC101 "0"]
IfNotMatchAction=[!SetVariable MeaC101 "1"]

[MeaC102]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=102
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC102 "0"]
IfNotMatchAction=[!SetVariable MeaC102 "1"]

[MeaC103]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=103
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC103 "0"]
IfNotMatchAction=[!SetVariable MeaC103 "1"]

[MeaC104]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=104
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC104 "0"]
IfNotMatchAction=[!SetVariable MeaC104 "1"]

[MeaC105]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=105
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC105 "0"]
IfNotMatchAction=[!SetVariable MeaC105 "1"]

[MeaC106]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=106
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC106 "0"]
IfNotMatchAction=[!SetVariable MeaC106 "1"]

[MeaC107]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=107
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC107 "0"]
IfNotMatchAction=[!SetVariable MeaC107 "1"]

[MeaC108]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=108
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC108 "0"]
IfNotMatchAction=[!SetVariable MeaC108 "1"]

[MeaC109]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=109
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC109 "0"]
IfNotMatchAction=[!SetVariable MeaC109 "1"]

[MeaC110]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=110
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC110 "0"]
IfNotMatchAction=[!SetVariable MeaC110 "1"]

[MeaC111]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=111
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC111 "0"]
IfNotMatchAction=[!SetVariable MeaC111 "1"]

[MeaC112]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=112
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC112 "0"]
IfNotMatchAction=[!SetVariable MeaC112 "1"]

[MeaC113]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=113
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC113 "0"]
IfNotMatchAction=[!SetVariable MeaC113 "1"]

[MeaC114]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=114
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC114 "0"]
IfNotMatchAction=[!SetVariable MeaC114 "1"]

[MeaC115]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=115
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC115 "0"]
IfNotMatchAction=[!SetVariable MeaC115 "1"]

[MeaC116]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=116
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC116 "0"]
IfNotMatchAction=[!SetVariable MeaC116 "1"]

[MeaC117]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=117
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC117 "0"]
IfNotMatchAction=[!SetVariable MeaC117 "1"]

[MeaC118]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=118
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC118 "0"]
IfNotMatchAction=[!SetVariable MeaC118 "1"]

[MeaC119]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=119
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC119 "0"]
IfNotMatchAction=[!SetVariable MeaC119 "1"]

[MeaC120]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=120
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC120 "0"]
IfNotMatchAction=[!SetVariable MeaC120 "1"]

[MeaC121]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=121
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC121 "0"]
IfNotMatchAction=[!SetVariable MeaC121 "1"]

[MeaC122]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=122
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC122 "0"]
IfNotMatchAction=[!SetVariable MeaC122 "1"]

[MeaC123]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=123
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC123 "0"]
IfNotMatchAction=[!SetVariable MeaC123 "1"]

[MeaC124]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=124
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC124 "0"]
IfNotMatchAction=[!SetVariable MeaC124 "1"]

[MeaC125]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=125
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC125 "0"]
IfNotMatchAction=[!SetVariable MeaC125 "1"]

[MeaC126]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=126
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC126 "0"]
IfNotMatchAction=[!SetVariable MeaC126 "1"]

[MeaC127]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=127
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC127 "0"]
IfNotMatchAction=[!SetVariable MeaC127 "1"]

[MeaC128]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=128
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC128 "0"]
IfNotMatchAction=[!SetVariable MeaC128 "1"]

[MeaC129]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=129
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC129 "0"]
IfNotMatchAction=[!SetVariable MeaC129 "1"]

[MeaC130]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=130
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC130 "0"]
IfNotMatchAction=[!SetVariable MeaC130 "1"]

[MeaC131]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=131
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC131 "0"]
IfNotMatchAction=[!SetVariable MeaC131 "1"]

[MeaC132]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=132
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC132 "0"]
IfNotMatchAction=[!SetVariable MeaC132 "1"]

[MeaC133]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=133
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC133 "0"]
IfNotMatchAction=[!SetVariable MeaC133 "1"]

[MeaC134]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=134
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC134 "0"]
IfNotMatchAction=[!SetVariable MeaC134 "1"]

[MeaC135]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=135
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC135 "0"]
IfNotMatchAction=[!SetVariable MeaC135 "1"]

[MeaC136]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=136
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC136 "0"]
IfNotMatchAction=[!SetVariable MeaC136 "1"]

[MeaC137]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=137
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC137 "0"]
IfNotMatchAction=[!SetVariable MeaC137 "1"]

[MeaC138]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=138
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC138 "0"]
IfNotMatchAction=[!SetVariable MeaC138 "1"]

[MeaC139]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=139
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC139 "0"]
IfNotMatchAction=[!SetVariable MeaC139 "1"]

[MeaC140]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=140
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC140 "0"]
IfNotMatchAction=[!SetVariable MeaC140 "1"]

[MeaC141]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=141
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC141 "0"]
IfNotMatchAction=[!SetVariable MeaC141 "1"]

[MeaC142]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=142
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC142 "0"]
IfNotMatchAction=[!SetVariable MeaC142 "1"]

[MeaC143]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=143
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC143 "0"]
IfNotMatchAction=[!SetVariable MeaC143 "1"]

[MeaC144]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=144
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC144 "0"]
IfNotMatchAction=[!SetVariable MeaC144 "1"]

;@include=#@#mm.inc

[MeasureTimer]
;A counter that counts up from 1 to the max. number of images in the folder so that the images are shown one after the other and then looped
Measure=Calc
Formula=(( COUNT % ( #MeaC1# + #MeaC2# + #MeaC3# + #MeaC4# + #MeaC5# + #MeaC6# + #MeaC7# + #MeaC8# + #MeaC9# + #MeaC10# + #MeaC11# + #MeaC12# + #MeaC13# + #MeaC14# + #MeaC15# + #MeaC16# + #MeaC17# + #MeaC18# + #MeaC19# + #MeaC20# + #MeaC21# + #MeaC22# + #MeaC23# + #MeaC24# + #MeaC25# + #MeaC26# + #MeaC27# + #MeaC28# + #MeaC29# + #MeaC30# + #MeaC31# + #MeaC32# + #MeaC33# + #MeaC34# + #MeaC35# + #MeaC36# + #MeaC37# + #MeaC38# + #MeaC39# + #MeaC40# + #MeaC41# + #MeaC42# + #MeaC43# + #MeaC44# + #MeaC45# + #MeaC46# + #MeaC47# + #MeaC48# + #MeaC49# + #MeaC50# + #MeaC51# + #MeaC52# + #MeaC53# + #MeaC54# + #MeaC55# + #MeaC56# + #MeaC57# + #MeaC58# + #MeaC59# + #MeaC60# + #MeaC61# + #MeaC62# + #MeaC63# + #MeaC64# + #MeaC65# + #MeaC66# + #MeaC67# + #MeaC68# + #MeaC69# + #MeaC70# + #MeaC71# + #MeaC72# + #MeaC73# + #MeaC74# + #MeaC75# + #MeaC76# + #MeaC77# + #MeaC78# + #MeaC79# + #MeaC80# + #MeaC81# + #MeaC82# + #MeaC83# + #MeaC84# + #MeaC85# + #MeaC86# + #MeaC87# + #MeaC88# + #MeaC89# + #MeaC90# + #MeaC91# + #MeaC92# + #MeaC93# + #MeaC94# + #MeaC95# + #MeaC96# + #MeaC97# + #MeaC98# + #MeaC99# + #MeaC100# + #MeaC101# + #MeaC102# + #MeaC103# + #MeaC104# + #MeaC105# + #MeaC106# + #MeaC107# + #MeaC108# + #MeaC109# + #MeaC110# + #MeaC111# + #MeaC112# + #MeaC113# + #MeaC114# + #MeaC115# + #MeaC116# + #MeaC117# + #MeaC118# + #MeaC119# + #MeaC120# + #MeaC121# + #MeaC122# + #MeaC123# + #MeaC124# + #MeaC125# + #MeaC126# + #MeaC127# + #MeaC128# + #MeaC129# + #MeaC130# + #MeaC131# + #MeaC132# + #MeaC133# + #MeaC134# + #MeaC135# + #MeaC136# + #MeaC137# + #MeaC138# + #MeaC139# + #MeaC140# + #MeaC141# + #MeaC142# + #MeaC143# + #MeaC144# )) + 1 )
DynamicVariables=1
Disabled=1

[ImgName]
;Combines the image name
Measure=String
String=MeaC[MeasureTimer]
DynamicVariables=1

[Radar]
;Shows the actual images
Meter=Image
ImagePath=DownloadFile\
MeasureName=[ImgName]
DynamicVariables=1
X=0
Y=0
W=#imgWidth#
Hidden=1
Group=ImgDat
Matth
Posts: 54
Joined: May 17th, 2017, 8:43 am

Re: Deduct Minutes from a time

Post by Matth »

Quick other question. I tried to add

Code: Select all

LeftMouseDownAction=[!ToggleMeasure "MeasureTimer"]
to the [Radar] meter. I was hoping that this would stop the animation with a mouse click and start it again. But it wouldn't stop.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Deduct Minutes from a time

Post by balala »

Matth wrote:Your solution is so much more elegant, I agree. :bow:

I have included that in my project and it works just flawless. After quite some testing and trial and error, it seems that my new skin works pretty well. The only thing I am struggling right now is the triggering of a new download.

The skin (should) download every 10 minutes a new file (satellite images) and then show the downloaded files one after the other. Pretty much what you did here https://forum.rainmeter.net/viewtopic.php?p=129919#p129919. But I don't want to download every time 144 images, but only the latest, yet I still want the development of the last 24 hours. It seems the display part now works.

With your time difference calculation I put together two strings for the changing file names of the satellite images. That part also works. Now every time the string changes in [MeasureNTUTC], it updates the URL and then should trigger the download of a new image. But this does not seem to work, although in the debug log, I can see the values change. What am I missing?
It's very hard for me to follow your extremely long code, so I won't. However, I have a few comments about it:
  • Setting the MeaCXX variables as you did, probably is not a good solution. Better I'd put them equal with 0: MeaC1=0 (and so on).
  • You should avoid the needing of the BaseString variable. Instead I'd set the String option of the [MeasureNTHKG] measure in the following form: String=[MeasureDate][MeasureHour][MeasureMin]. In this case, to have two zeros as minutes, I'd add to the [MeasureMin] measure, the following options:

    Code: Select all

    [MeasureMin]
    
    RegExpSubstitute=1
    Substitute="^(.)$":"0\1"
    If you do so, you can remove the IfCondition, IfTrueAction and IfFalseAction options of the [MeasureMin] measure. This way we've avoided the usage of BaseString variable. You should do the same way, to avoid using the BaseStringUTC variable (however this is not an extremely important thing, you also can leave the BaseString and the BaseStringUTC variables).
  • Never use a Path="C:\Users\Matth\Documents\Rainmeter\Skins\NewFolder\DownloadFile" option ([MeaFolder] measure). No other users won't get your code working, because the path of the DownloadFile folder is always other then this one. A Path=#CURRENTPATH#DownloadFile option would be much better, because it'll work for any user, no matter what is his/her name.
  • [RadarMeasure] being a parent WebParser plugin measure, you can't update it with the simple [!UpdateMeasure "RadarMeasure"] bang (as you did on the IfTrueAction option of the [MeasureNTUTC] measure). This bang simply doesn't work when a WebParser measure should be updated to "re-parse" the data. Instead you should update it with [!CommandMeasure "RadarMeasure" "Update"] (last paragraph here).
All these being said, I will tell you I couldn't get the skin to work. It doesn't download the needed images, nothing is happening. But as I said, the code is too long and it's very hard for me to follow everything is happening there.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Deduct Minutes from a time

Post by balala »

Matth wrote:Quick other question. I tried to add

Code: Select all

LeftMouseDownAction=[!ToggleMeasure "MeasureTimer"]
to the [Radar] meter. I was hoping that this would stop the animation with a mouse click and start it again. But it wouldn't stop.
As I couldn't get the skin to work, I can't check this, but this posted option should stop the animation. However instead of the !ToggleMeasure, I'd use a !TogglePauseMeasure bang. This bang will keep the value which the measure had, when you clicked the appropriate meter.
And one more: usage of LeftMouseDownAction, usually is not a good idea. LeftMouseUpAction would be much better: read the Note here.
Matth
Posts: 54
Joined: May 17th, 2017, 8:43 am

Re: Deduct Minutes from a time

Post by Matth »

Thanks again for the input.

I did implement your suggestions, although the substitute one didn't work. It said invalid substitute and the skin wouldn't work anymore.

The TogglePause seems to work, although after the pause, it doesn't continue at the same place. It seems it's continuing in the back and picks up at a random place. Not too annoying, but still not what I was expecting.

It's strange that it doesn't work with you. Since it only downloads a satellite image once every 10 minutes, it should take some time to have a few on your disk to run the animation, but at least the first image should be downloaded immediately.

And yes it's long, but only because of the 144 MeaCX measures. Other than that, it should be quite simple. Well, here's the latest code again.

Code: Select all

[Rainmeter]
Update=250
AccurateText=1

[Variables]
;Subtract 40 minutes (in seconds) from the current time, as the satellite images are provided with a delay
SubHKG=2400
;Subtract 50 minutes (in seconds) from the current time, as the HKG observatory probably needs a 10 minute timeframe
SubUTC=3000
;previous BaseStringUTC value. If the value is not the same, a new file has to be downloaded
pBSUTC=0
;Variables for each File (max. 144/each 10 minutes in a 24 hour day)
imgWidth=300
MeaC1	=0
MeaC2	=0
MeaC3	=0
MeaC4	=0
MeaC5	=0
MeaC6	=0
MeaC7	=0
MeaC8	=0
MeaC9	=0
MeaC10	=0
MeaC11	=0
MeaC12	=0
MeaC13	=0
MeaC14	=0
MeaC15	=0
MeaC16	=0
MeaC17	=0
MeaC18	=0
MeaC19	=0
MeaC20	=0
MeaC21	=0
MeaC22	=0
MeaC23	=0
MeaC24	=0
MeaC25	=0
MeaC26	=0
MeaC27	=0
MeaC28	=0
MeaC29	=0
MeaC30	=0
MeaC31	=0
MeaC32	=0
MeaC33	=0
MeaC34	=0
MeaC35	=0
MeaC36	=0
MeaC37	=0
MeaC38	=0
MeaC39	=0
MeaC40	=0
MeaC41	=0
MeaC42	=0
MeaC43	=0
MeaC44	=0
MeaC45	=0
MeaC46	=0
MeaC47	=0
MeaC48	=0
MeaC49	=0
MeaC50	=0
MeaC51	=0
MeaC52	=0
MeaC53	=0
MeaC54	=0
MeaC55	=0
MeaC56	=0
MeaC57	=0
MeaC58	=0
MeaC59	=0
MeaC60	=0
MeaC61	=0
MeaC62	=0
MeaC63	=0
MeaC64	=0
MeaC65	=0
MeaC66	=0
MeaC67	=0
MeaC68	=0
MeaC69	=0
MeaC70	=0
MeaC71	=0
MeaC72	=0
MeaC73	=0
MeaC74	=0
MeaC75	=0
MeaC76	=0
MeaC77	=0
MeaC78	=0
MeaC79	=0
MeaC80	=0
MeaC81	=0
MeaC82	=0
MeaC83	=0
MeaC84	=0
MeaC85	=0
MeaC86	=0
MeaC87	=0
MeaC88	=0
MeaC89	=0
MeaC90	=0
MeaC91	=0
MeaC92	=0
MeaC93	=0
MeaC94	=0
MeaC95	=0
MeaC96	=0
MeaC97	=0
MeaC98	=0
MeaC99	=0
MeaC100	=0
MeaC101	=0
MeaC102	=0
MeaC103	=0
MeaC104	=0
MeaC105	=0
MeaC106	=0
MeaC107	=0
MeaC108	=0
MeaC109	=0
MeaC110	=0
MeaC111	=0
MeaC112	=0
MeaC113	=0
MeaC114	=0
MeaC115	=0
MeaC116	=0
MeaC117	=0
MeaC118	=0
MeaC119	=0
MeaC120	=0
MeaC121	=0
MeaC122	=0
MeaC123	=0
MeaC124	=0
MeaC125	=0
MeaC126	=0
MeaC127	=0
MeaC128	=0
MeaC129	=0
MeaC130	=0
MeaC131	=0
MeaC132	=0
MeaC133	=0
MeaC134	=0
MeaC135	=0
MeaC136	=0
MeaC137	=0
MeaC138	=0
MeaC139	=0
MeaC140	=0
MeaC141	=0
MeaC142	=0
MeaC143	=0
MeaC144	=0

;@include=#@#vars.inc

;[MeasureScript]
;Measure=Script
;ScriptFile=#@#MeaFiles.lua

[MeasureTimeHKG]
;Current local time in HKG 
Measure=Time
TimeZone=+8

[MeasureDate]
;The Date less the time subtracted
Measure=Time
Timestamp=([MeasureTimeHKG:]-#SubHKG#)
Format=%Y%m%d
TimeZone=+8
DynamicVariables=1

[MeasureHour]
;The Hour less the time subtracted
Measure=Time
Timestamp=([MeasureTimeHKG:]-#SubHKG#)
Format=%H
TimeZone=+8
DynamicVariables=1

[MeasureMinute]
;The Minute less the time subtracted
Measure=Time
Timestamp=([MeasureTimeHKG:]-#SubHKG#)
Format=%M
TimeZone=+8
DynamicVariables=1

[MeasureMin]
;Rounded down minute to next 10
Measure=Calc
Formula=Floor([MeasureMinute]/10)*10
DynamicVariables=1
;On the full hour, use a 00 for the minutes instead of a single 0
IfConditionMode=1
IfCondition=(MeasureMin=0)
IfTrueAction=[!SetVariable BaseString "[MeasureDate][MeasureHour]00"][!SetVariable BaseTime "[MeasureHour]00"]
IfFalseAction=[!SetVariable BaseString "[MeasureDate][MeasureHour][MeasureMin]"][!SetVariable BaseTime "[MeasureHour][MeasureMin]"]
;RegExpSubstitute=1
;Substitute="^(.)$":"0\1"

[MeasureNTHKG]
Measure=String
;String=[MeasureDate][MeasureHour][MeasureMin]
String=#BaseString#
DynamicVariables=1

[MeasureTimeUTC]
;Same calculation for the UTC time (second part in the satellite filename)
Measure=Time
TimeZone=0

[MeasureDateUTC]
Measure=Time
Timestamp=([MeasureTimeUTC:]-#SubUTC#)
Format=%d
TimeZone=0
DynamicVariables=1

[MeasureHourUTC]
Measure=Time
Timestamp=([MeasureTimeUTC:]-#SubUTC#)
Format=%H
TimeZone=0
DynamicVariables=1

[MeasureMinuteUTC]
Measure=Time
Timestamp=([MeasureTimeUTC:]-#SubUTC#)
Format=%M
TimeZone=0
DynamicVariables=1

[MeasureMinUTC]
Measure=Calc
Formula=Floor([MeasureMinuteUTC]/10)*10
DynamicVariables=1
IfConditionMode=1
IfCondition=(MeasureMinUTC=0)
IfTrueAction=[!SetVariable BaseStringUTC "[MeasureDateUTC][MeasureHourUTC]00"]
IfFalseAction=[!SetVariable BaseStringUTC "[MeasureDateUTC][MeasureHourUTC][MeasureMinUTC]"]
;RegExpSubstitute=1
;Substitute="^(.)$":"0\1"\

[MeasureNTUTC]
Measure=String
;String=[MeasureDateUTC][MeasureHourUTC][MeasureMinUTC]
String=#BaseStringUTC#
DynamicVariables=1
;If the time changes (next 10 minutes) update the URL and trigger the download for a new file
IfConditionMode=1
IfCondition=([MeasureNTUTC] <> #pBSUTC#)
IfTrueAction=[!SetVariable pBSUTC "[MeasureNTUTC]"][!SetVariable rURL "http://www.weather.gov.hk/wxinfo/intersat/satellite/image/e_infrared/[MeasureNTHKG]+[MeasureNTUTC]H08.nb_x8M--L1B.H08_IR1_coast.png"][!CommandMeasure "RadarMeasure" "Update"]

[RadarMeasure]
;Downloads the image every 10 minutes
Measure=Plugin
Plugin=Plugins\WebParser.dll
;UpdateDivider=-1
Url=#rURL#
Download=1
DynamicVariables=1
DownloadFile="infrared\radar#BaseTime#.png"
;Start 
FinishAction=[!EnableMeasureGroup "Images"][!UpdateMeasureGroup "Images"][!EnableMeasure "MeasureTimer"][!ShowMeterGroup "ImgDat"][!CommandMeasure "MeaFolder" "Update"]

[MeaFolder]
;Checks max 144 files in the folder
Measure=Plugin
Plugin=FileView
Path=#CURRENTPATH#DownloadFile\infrared
ShowDotDot=0
ShowFolder=0
Count=144
Group=Images
Disabled=1

;One measure for each possible file in the folder
[MeaC1]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=1
Group=Images
Disabled=1
;Checks if the filename is empty, then set the variable to 0, otherwise to 1 (should the file/measure be shown or not)
IfMatch=^$
IfMatchAction=[!SetVariable MeaC1 "0"]
IfNotMatchAction=[!SetVariable MeaC1 "1"]

[MeaC2]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=2
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC2 "0"]
IfNotMatchAction=[!SetVariable MeaC2 "1"]

[MeaC3]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=3
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC3 "0"]
IfNotMatchAction=[!SetVariable MeaC3 "1"]

[MeaC4]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=4
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC4 "0"]
IfNotMatchAction=[!SetVariable MeaC4 "1"]

[MeaC5]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=5
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC5 "0"]
IfNotMatchAction=[!SetVariable MeaC5 "1"]

[MeaC6]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=6
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC6 "0"]
IfNotMatchAction=[!SetVariable MeaC6 "1"]

[MeaC7]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=7
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC7 "0"]
IfNotMatchAction=[!SetVariable MeaC7 "1"]

[MeaC8]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=8
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC8 "0"]
IfNotMatchAction=[!SetVariable MeaC8 "1"]

[MeaC9]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=9
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC9 "0"]
IfNotMatchAction=[!SetVariable MeaC9 "1"]

[MeaC10]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=10
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC10 "0"]
IfNotMatchAction=[!SetVariable MeaC10 "1"]

[MeaC11]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=11
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC11 "0"]
IfNotMatchAction=[!SetVariable MeaC11 "1"]

[MeaC12]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=12
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC12 "0"]
IfNotMatchAction=[!SetVariable MeaC12 "1"]

[MeaC13]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=13
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC13 "0"]
IfNotMatchAction=[!SetVariable MeaC13 "1"]

[MeaC14]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=14
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC14 "0"]
IfNotMatchAction=[!SetVariable MeaC14 "1"]

[MeaC15]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=15
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC15 "0"]
IfNotMatchAction=[!SetVariable MeaC15 "1"]

[MeaC16]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=16
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC16 "0"]
IfNotMatchAction=[!SetVariable MeaC16 "1"]

[MeaC17]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=17
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC17 "0"]
IfNotMatchAction=[!SetVariable MeaC17 "1"]

[MeaC18]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=18
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC18 "0"]
IfNotMatchAction=[!SetVariable MeaC18 "1"]

[MeaC19]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=19
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC19 "0"]
IfNotMatchAction=[!SetVariable MeaC19 "1"]

[MeaC20]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=20
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC20 "0"]
IfNotMatchAction=[!SetVariable MeaC20 "1"]

[MeaC21]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=21
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC21 "0"]
IfNotMatchAction=[!SetVariable MeaC21 "1"]

[MeaC22]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=22
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC22 "0"]
IfNotMatchAction=[!SetVariable MeaC22 "1"]

[MeaC23]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=23
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC23 "0"]
IfNotMatchAction=[!SetVariable MeaC23 "1"]

[MeaC24]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=24
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC24 "0"]
IfNotMatchAction=[!SetVariable MeaC24 "1"]

[MeaC25]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=25
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC25 "0"]
IfNotMatchAction=[!SetVariable MeaC25 "1"]

[MeaC26]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=26
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC26 "0"]
IfNotMatchAction=[!SetVariable MeaC26 "1"]

[MeaC27]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=27
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC27 "0"]
IfNotMatchAction=[!SetVariable MeaC27 "1"]

[MeaC28]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=28
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC28 "0"]
IfNotMatchAction=[!SetVariable MeaC28 "1"]

[MeaC29]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=29
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC29 "0"]
IfNotMatchAction=[!SetVariable MeaC29 "1"]

[MeaC30]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=30
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC30 "0"]
IfNotMatchAction=[!SetVariable MeaC30 "1"]

[MeaC31]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=31
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC31 "0"]
IfNotMatchAction=[!SetVariable MeaC31 "1"]

[MeaC32]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=32
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC32 "0"]
IfNotMatchAction=[!SetVariable MeaC32 "1"]

[MeaC33]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=33
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC33 "0"]
IfNotMatchAction=[!SetVariable MeaC33 "1"]

[MeaC34]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=34
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC34 "0"]
IfNotMatchAction=[!SetVariable MeaC34 "1"]

[MeaC35]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=35
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC35 "0"]
IfNotMatchAction=[!SetVariable MeaC35 "1"]

[MeaC36]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=36
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC36 "0"]
IfNotMatchAction=[!SetVariable MeaC36 "1"]

[MeaC37]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=37
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC37 "0"]
IfNotMatchAction=[!SetVariable MeaC37 "1"]

[MeaC38]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=38
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC38 "0"]
IfNotMatchAction=[!SetVariable MeaC38 "1"]

[MeaC39]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=39
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC39 "0"]
IfNotMatchAction=[!SetVariable MeaC39 "1"]

[MeaC40]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=40
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC40 "0"]
IfNotMatchAction=[!SetVariable MeaC40 "1"]

[MeaC41]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=41
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC41 "0"]
IfNotMatchAction=[!SetVariable MeaC41 "1"]

[MeaC42]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=42
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC42 "0"]
IfNotMatchAction=[!SetVariable MeaC42 "1"]

[MeaC43]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=43
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC43 "0"]
IfNotMatchAction=[!SetVariable MeaC43 "1"]

[MeaC44]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=44
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC44 "0"]
IfNotMatchAction=[!SetVariable MeaC44 "1"]

[MeaC45]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=45
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC45 "0"]
IfNotMatchAction=[!SetVariable MeaC45 "1"]

[MeaC46]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=46
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC46 "0"]
IfNotMatchAction=[!SetVariable MeaC46 "1"]

[MeaC47]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=47
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC47 "0"]
IfNotMatchAction=[!SetVariable MeaC47 "1"]

[MeaC48]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=48
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC48 "0"]
IfNotMatchAction=[!SetVariable MeaC48 "1"]

[MeaC49]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=49
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC49 "0"]
IfNotMatchAction=[!SetVariable MeaC49 "1"]

[MeaC50]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=50
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC50 "0"]
IfNotMatchAction=[!SetVariable MeaC50 "1"]

[MeaC51]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=51
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC51 "0"]
IfNotMatchAction=[!SetVariable MeaC51 "1"]

[MeaC52]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=52
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC52 "0"]
IfNotMatchAction=[!SetVariable MeaC52 "1"]

[MeaC53]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=53
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC53 "0"]
IfNotMatchAction=[!SetVariable MeaC53 "1"]

[MeaC54]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=54
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC54 "0"]
IfNotMatchAction=[!SetVariable MeaC54 "1"]

[MeaC55]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=55
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC55 "0"]
IfNotMatchAction=[!SetVariable MeaC55 "1"]

[MeaC56]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=56
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC56 "0"]
IfNotMatchAction=[!SetVariable MeaC56 "1"]

[MeaC57]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=57
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC57 "0"]
IfNotMatchAction=[!SetVariable MeaC57 "1"]

[MeaC58]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=58
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC58 "0"]
IfNotMatchAction=[!SetVariable MeaC58 "1"]

[MeaC59]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=59
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC59 "0"]
IfNotMatchAction=[!SetVariable MeaC59 "1"]

[MeaC60]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=60
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC60 "0"]
IfNotMatchAction=[!SetVariable MeaC60 "1"]

[MeaC61]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=61
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC61 "0"]
IfNotMatchAction=[!SetVariable MeaC61 "1"]

[MeaC62]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=62
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC62 "0"]
IfNotMatchAction=[!SetVariable MeaC62 "1"]

[MeaC63]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=63
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC63 "0"]
IfNotMatchAction=[!SetVariable MeaC63 "1"]

[MeaC64]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=64
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC64 "0"]
IfNotMatchAction=[!SetVariable MeaC64 "1"]

[MeaC65]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=65
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC65 "0"]
IfNotMatchAction=[!SetVariable MeaC65 "1"]

[MeaC66]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=66
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC66 "0"]
IfNotMatchAction=[!SetVariable MeaC66 "1"]

[MeaC67]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=67
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC67 "0"]
IfNotMatchAction=[!SetVariable MeaC67 "1"]

[MeaC68]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=68
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC68 "0"]
IfNotMatchAction=[!SetVariable MeaC68 "1"]

[MeaC69]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=69
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC69 "0"]
IfNotMatchAction=[!SetVariable MeaC69 "1"]

[MeaC70]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=70
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC70 "0"]
IfNotMatchAction=[!SetVariable MeaC70 "1"]

[MeaC71]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=71
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC71 "0"]
IfNotMatchAction=[!SetVariable MeaC71 "1"]

[MeaC72]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=72
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC72 "0"]
IfNotMatchAction=[!SetVariable MeaC72 "1"]

[MeaC73]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=73
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC73 "0"]
IfNotMatchAction=[!SetVariable MeaC73 "1"]

[MeaC74]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=74
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC74 "0"]
IfNotMatchAction=[!SetVariable MeaC74 "1"]

[MeaC75]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=75
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC75 "0"]
IfNotMatchAction=[!SetVariable MeaC75 "1"]

[MeaC76]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=76
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC76 "0"]
IfNotMatchAction=[!SetVariable MeaC76 "1"]

[MeaC77]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=77
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC77 "0"]
IfNotMatchAction=[!SetVariable MeaC77 "1"]

[MeaC78]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=78
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC78 "0"]
IfNotMatchAction=[!SetVariable MeaC78 "1"]

[MeaC79]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=79
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC79 "0"]
IfNotMatchAction=[!SetVariable MeaC79 "1"]

[MeaC80]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=80
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC80 "0"]
IfNotMatchAction=[!SetVariable MeaC80 "1"]

[MeaC81]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=81
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC81 "0"]
IfNotMatchAction=[!SetVariable MeaC81 "1"]

[MeaC82]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=82
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC82 "0"]
IfNotMatchAction=[!SetVariable MeaC82 "1"]

[MeaC83]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=83
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC83 "0"]
IfNotMatchAction=[!SetVariable MeaC83 "1"]

[MeaC84]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=84
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC84 "0"]
IfNotMatchAction=[!SetVariable MeaC84 "1"]

[MeaC85]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=85
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC85 "0"]
IfNotMatchAction=[!SetVariable MeaC85 "1"]

[MeaC86]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=86
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC86 "0"]
IfNotMatchAction=[!SetVariable MeaC86 "1"]

[MeaC87]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=87
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC87 "0"]
IfNotMatchAction=[!SetVariable MeaC87 "1"]

[MeaC88]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=88
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC88 "0"]
IfNotMatchAction=[!SetVariable MeaC88 "1"]

[MeaC89]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=89
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC89 "0"]
IfNotMatchAction=[!SetVariable MeaC89 "1"]

[MeaC90]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=90
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC90 "0"]
IfNotMatchAction=[!SetVariable MeaC90 "1"]

[MeaC91]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=91
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC91 "0"]
IfNotMatchAction=[!SetVariable MeaC91 "1"]

[MeaC92]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=92
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC92 "0"]
IfNotMatchAction=[!SetVariable MeaC92 "1"]

[MeaC93]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=93
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC93 "0"]
IfNotMatchAction=[!SetVariable MeaC93 "1"]

[MeaC94]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=94
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC94 "0"]
IfNotMatchAction=[!SetVariable MeaC94 "1"]

[MeaC95]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=95
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC95 "0"]
IfNotMatchAction=[!SetVariable MeaC95 "1"]

[MeaC96]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=96
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC96 "0"]
IfNotMatchAction=[!SetVariable MeaC96 "1"]

[MeaC97]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=97
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC97 "0"]
IfNotMatchAction=[!SetVariable MeaC97 "1"]

[MeaC98]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=98
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC98 "0"]
IfNotMatchAction=[!SetVariable MeaC98 "1"]

[MeaC99]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=99
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC99 "0"]
IfNotMatchAction=[!SetVariable MeaC99 "1"]

[MeaC100]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=100
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC100 "0"]
IfNotMatchAction=[!SetVariable MeaC100 "1"]

[MeaC101]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=101
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC101 "0"]
IfNotMatchAction=[!SetVariable MeaC101 "1"]

[MeaC102]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=102
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC102 "0"]
IfNotMatchAction=[!SetVariable MeaC102 "1"]

[MeaC103]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=103
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC103 "0"]
IfNotMatchAction=[!SetVariable MeaC103 "1"]

[MeaC104]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=104
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC104 "0"]
IfNotMatchAction=[!SetVariable MeaC104 "1"]

[MeaC105]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=105
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC105 "0"]
IfNotMatchAction=[!SetVariable MeaC105 "1"]

[MeaC106]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=106
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC106 "0"]
IfNotMatchAction=[!SetVariable MeaC106 "1"]

[MeaC107]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=107
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC107 "0"]
IfNotMatchAction=[!SetVariable MeaC107 "1"]

[MeaC108]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=108
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC108 "0"]
IfNotMatchAction=[!SetVariable MeaC108 "1"]

[MeaC109]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=109
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC109 "0"]
IfNotMatchAction=[!SetVariable MeaC109 "1"]

[MeaC110]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=110
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC110 "0"]
IfNotMatchAction=[!SetVariable MeaC110 "1"]

[MeaC111]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=111
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC111 "0"]
IfNotMatchAction=[!SetVariable MeaC111 "1"]

[MeaC112]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=112
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC112 "0"]
IfNotMatchAction=[!SetVariable MeaC112 "1"]

[MeaC113]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=113
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC113 "0"]
IfNotMatchAction=[!SetVariable MeaC113 "1"]

[MeaC114]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=114
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC114 "0"]
IfNotMatchAction=[!SetVariable MeaC114 "1"]

[MeaC115]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=115
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC115 "0"]
IfNotMatchAction=[!SetVariable MeaC115 "1"]

[MeaC116]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=116
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC116 "0"]
IfNotMatchAction=[!SetVariable MeaC116 "1"]

[MeaC117]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=117
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC117 "0"]
IfNotMatchAction=[!SetVariable MeaC117 "1"]

[MeaC118]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=118
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC118 "0"]
IfNotMatchAction=[!SetVariable MeaC118 "1"]

[MeaC119]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=119
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC119 "0"]
IfNotMatchAction=[!SetVariable MeaC119 "1"]

[MeaC120]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=120
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC120 "0"]
IfNotMatchAction=[!SetVariable MeaC120 "1"]

[MeaC121]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=121
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC121 "0"]
IfNotMatchAction=[!SetVariable MeaC121 "1"]

[MeaC122]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=122
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC122 "0"]
IfNotMatchAction=[!SetVariable MeaC122 "1"]

[MeaC123]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=123
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC123 "0"]
IfNotMatchAction=[!SetVariable MeaC123 "1"]

[MeaC124]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=124
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC124 "0"]
IfNotMatchAction=[!SetVariable MeaC124 "1"]

[MeaC125]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=125
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC125 "0"]
IfNotMatchAction=[!SetVariable MeaC125 "1"]

[MeaC126]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=126
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC126 "0"]
IfNotMatchAction=[!SetVariable MeaC126 "1"]

[MeaC127]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=127
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC127 "0"]
IfNotMatchAction=[!SetVariable MeaC127 "1"]

[MeaC128]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=128
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC128 "0"]
IfNotMatchAction=[!SetVariable MeaC128 "1"]

[MeaC129]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=129
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC129 "0"]
IfNotMatchAction=[!SetVariable MeaC129 "1"]

[MeaC130]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=130
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC130 "0"]
IfNotMatchAction=[!SetVariable MeaC130 "1"]

[MeaC131]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=131
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC131 "0"]
IfNotMatchAction=[!SetVariable MeaC131 "1"]

[MeaC132]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=132
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC132 "0"]
IfNotMatchAction=[!SetVariable MeaC132 "1"]

[MeaC133]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=133
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC133 "0"]
IfNotMatchAction=[!SetVariable MeaC133 "1"]

[MeaC134]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=134
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC134 "0"]
IfNotMatchAction=[!SetVariable MeaC134 "1"]

[MeaC135]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=135
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC135 "0"]
IfNotMatchAction=[!SetVariable MeaC135 "1"]

[MeaC136]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=136
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC136 "0"]
IfNotMatchAction=[!SetVariable MeaC136 "1"]

[MeaC137]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=137
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC137 "0"]
IfNotMatchAction=[!SetVariable MeaC137 "1"]

[MeaC138]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=138
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC138 "0"]
IfNotMatchAction=[!SetVariable MeaC138 "1"]

[MeaC139]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=139
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC139 "0"]
IfNotMatchAction=[!SetVariable MeaC139 "1"]

[MeaC140]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=140
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC140 "0"]
IfNotMatchAction=[!SetVariable MeaC140 "1"]

[MeaC141]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=141
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC141 "0"]
IfNotMatchAction=[!SetVariable MeaC141 "1"]

[MeaC142]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=142
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC142 "0"]
IfNotMatchAction=[!SetVariable MeaC142 "1"]

[MeaC143]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=143
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC143 "0"]
IfNotMatchAction=[!SetVariable MeaC143 "1"]

[MeaC144]
Measure=Plugin
Plugin=FileView
Path=[MeaFolder]
Type=FileName
DynamicVariables=1
Index=144
Group=Images
Disabled=1
IfMatch=^$
IfMatchAction=[!SetVariable MeaC144 "0"]
IfNotMatchAction=[!SetVariable MeaC144 "1"]

;@include=#@#mm.inc

[MeasureTimer]
;A counter that counts up from 1 to the max. number of images in the folder so that the images are shown one after the other and then looped
Measure=Calc
Formula=(( COUNT % ( #MeaC1# + #MeaC2# + #MeaC3# + #MeaC4# + #MeaC5# + #MeaC6# + #MeaC7# + #MeaC8# + #MeaC9# + #MeaC10# + #MeaC11# + #MeaC12# + #MeaC13# + #MeaC14# + #MeaC15# + #MeaC16# + #MeaC17# + #MeaC18# + #MeaC19# + #MeaC20# + #MeaC21# + #MeaC22# + #MeaC23# + #MeaC24# + #MeaC25# + #MeaC26# + #MeaC27# + #MeaC28# + #MeaC29# + #MeaC30# + #MeaC31# + #MeaC32# + #MeaC33# + #MeaC34# + #MeaC35# + #MeaC36# + #MeaC37# + #MeaC38# + #MeaC39# + #MeaC40# + #MeaC41# + #MeaC42# + #MeaC43# + #MeaC44# + #MeaC45# + #MeaC46# + #MeaC47# + #MeaC48# + #MeaC49# + #MeaC50# + #MeaC51# + #MeaC52# + #MeaC53# + #MeaC54# + #MeaC55# + #MeaC56# + #MeaC57# + #MeaC58# + #MeaC59# + #MeaC60# + #MeaC61# + #MeaC62# + #MeaC63# + #MeaC64# + #MeaC65# + #MeaC66# + #MeaC67# + #MeaC68# + #MeaC69# + #MeaC70# + #MeaC71# + #MeaC72# + #MeaC73# + #MeaC74# + #MeaC75# + #MeaC76# + #MeaC77# + #MeaC78# + #MeaC79# + #MeaC80# + #MeaC81# + #MeaC82# + #MeaC83# + #MeaC84# + #MeaC85# + #MeaC86# + #MeaC87# + #MeaC88# + #MeaC89# + #MeaC90# + #MeaC91# + #MeaC92# + #MeaC93# + #MeaC94# + #MeaC95# + #MeaC96# + #MeaC97# + #MeaC98# + #MeaC99# + #MeaC100# + #MeaC101# + #MeaC102# + #MeaC103# + #MeaC104# + #MeaC105# + #MeaC106# + #MeaC107# + #MeaC108# + #MeaC109# + #MeaC110# + #MeaC111# + #MeaC112# + #MeaC113# + #MeaC114# + #MeaC115# + #MeaC116# + #MeaC117# + #MeaC118# + #MeaC119# + #MeaC120# + #MeaC121# + #MeaC122# + #MeaC123# + #MeaC124# + #MeaC125# + #MeaC126# + #MeaC127# + #MeaC128# + #MeaC129# + #MeaC130# + #MeaC131# + #MeaC132# + #MeaC133# + #MeaC134# + #MeaC135# + #MeaC136# + #MeaC137# + #MeaC138# + #MeaC139# + #MeaC140# + #MeaC141# + #MeaC142# + #MeaC143# + #MeaC144# )) + 1 )
DynamicVariables=1
Disabled=1

[ImgName]
;Combines the image name
Measure=String
String=MeaC[MeasureTimer]
DynamicVariables=1

[Radar]
;Shows the actual images
Meter=Image
ImagePath=DownloadFile\infrared\
MeasureName=[ImgName]
DynamicVariables=1
X=0
Y=0
W=#imgWidth#
Hidden=1
Group=ImgDat
LeftMouseUpAction=[!TogglePauseMeasure "MeasureTimer"]
;MouseOverAction=[!DisableMeasure "MeasureTimer"]
;MouseLeaveAction=[!EnableMeasure "MeasureTimer"]
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Deduct Minutes from a time

Post by balala »

Matth wrote:I did implement your suggestions, although the substitute one didn't work. It said invalid substitute and the skin wouldn't work anymore.
Then doesn't change your code. Finally using the BaseString, BaseStringUTC and BaseTime variables, is not a too great problem and this won1t create any trouble.
Matth wrote:The TogglePause seems to work, although after the pause, it doesn't continue at the same place. It seems it's continuing in the back and picks up at a random place. Not too annoying, but still not what I was expecting.
Normally. When you pause the [MeasureTimer] measure, the COUNT (COUNTER) function continues to be updated, even if the measure is paused. COUNT returns the number of updates, since the skin was loaded. Its value doesn't depend on the fact if the measure is or isn't paused. That's why it continues to increase, even if you pause the [MeasureTimer] measure.
Fixing this is very simple: you should use another function. So, replace the existing Formula option of the [MeasureTimer] measure, with the following one:

Code: Select all

[MeasureTimer]
...
Formula=(( MeasureTimer % ( #MeaC1# + #MeaC2# + #MeaC3# + #MeaC4# + #MeaC5# + #MeaC6# + #MeaC7# + #MeaC8# + #MeaC9# + #MeaC10# + #MeaC11# + #MeaC12# + #MeaC13# + #MeaC14# + #MeaC15# + #MeaC16# + #MeaC17# + #MeaC18# + #MeaC19# + #MeaC20# + #MeaC21# + #MeaC22# + #MeaC23# + #MeaC24# + #MeaC25# + #MeaC26# + #MeaC27# + #MeaC28# + #MeaC29# + #MeaC30# + #MeaC31# + #MeaC32# + #MeaC33# + #MeaC34# + #MeaC35# + #MeaC36# + #MeaC37# + #MeaC38# + #MeaC39# + #MeaC40# + #MeaC41# + #MeaC42# + #MeaC43# + #MeaC44# + #MeaC45# + #MeaC46# + #MeaC47# + #MeaC48# + #MeaC49# + #MeaC50# + #MeaC51# + #MeaC52# + #MeaC53# + #MeaC54# + #MeaC55# + #MeaC56# + #MeaC57# + #MeaC58# + #MeaC59# + #MeaC60# + #MeaC61# + #MeaC62# + #MeaC63# + #MeaC64# + #MeaC65# + #MeaC66# + #MeaC67# + #MeaC68# + #MeaC69# + #MeaC70# + #MeaC71# + #MeaC72# + #MeaC73# + #MeaC74# + #MeaC75# + #MeaC76# + #MeaC77# + #MeaC78# + #MeaC79# + #MeaC80# + #MeaC81# + #MeaC82# + #MeaC83# + #MeaC84# + #MeaC85# + #MeaC86# + #MeaC87# + #MeaC88# + #MeaC89# + #MeaC90# + #MeaC91# + #MeaC92# + #MeaC93# + #MeaC94# + #MeaC95# + #MeaC96# + #MeaC97# + #MeaC98# + #MeaC99# + #MeaC100# + #MeaC101# + #MeaC102# + #MeaC103# + #MeaC104# + #MeaC105# + #MeaC106# + #MeaC107# + #MeaC108# + #MeaC109# + #MeaC110# + #MeaC111# + #MeaC112# + #MeaC113# + #MeaC114# + #MeaC115# + #MeaC116# + #MeaC117# + #MeaC118# + #MeaC119# + #MeaC120# + #MeaC121# + #MeaC122# + #MeaC123# + #MeaC124# + #MeaC125# + #MeaC126# + #MeaC127# + #MeaC128# + #MeaC129# + #MeaC130# + #MeaC131# + #MeaC132# + #MeaC133# + #MeaC134# + #MeaC135# + #MeaC136# + #MeaC137# + #MeaC138# + #MeaC139# + #MeaC140# + #MeaC141# + #MeaC142# + #MeaC143# + #MeaC144# )) + 1 )
With this function, when you're unpausing the paused measure, it'll continue to count from its last value.
Matth wrote:It's strange that it doesn't work with you. Since it only downloads a satellite image once every 10 minutes, it should take some time to have a few on your disk to run the animation, but at least the first image should be downloaded immediately.

And yes it's long, but only because of the 144 MeaCX measures. Other than that, it should be quite simple. Well, here's the latest code again.
It still doesn't. Maybe you should pack your config and upload it. I'd like to check it, having the whole config, not just the code.
Matth
Posts: 54
Joined: May 17th, 2017, 8:43 am

Re: Deduct Minutes from a time

Post by Matth »

The MeasureTimer instead of the Counter worked just flawlessly :)

I have also played a bit more with the substitute and this version seems to work as well.

Attached is a skin file with the complete code and also a few images. The "dev" is a version I am working on and might have some different code, but the HKGSat.ini should work. There are two times (10:50/22:50 HKG time 02:40/12:40 UTC) when there seems to be no image.

In the dev.ini I was trying to stop the animation for a certain time at the last image (current time), but I couldn't get this to work. I tried to place an IfCondition in the [ImgName] Measure to check if the Filename was equal to the [MeasureBaseTime]. But when I try IfCondition = [ImgName] = [MeasureBaseTime] then it tries to compare MeaCXX with radarXXXX.png. How can I make Rainmeter use the value of MeaCXX instead?
HKG Satellite_0.1.rmskin
You do not have the required permissions to view the files attached to this post.