It is currently March 28th, 2024, 8:43 pm

Custom 3 Part Button?

Get help with creating, editing & fixing problems with skins
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Custom 3 Part Button?

Post by balala »

jminternelia wrote: December 14th, 2018, 3:42 pm I also realized that the IfCondition2 was missing an IfTrueAction2. That fixed it. Much thanks.
Right. I missed this as well. Sorry...
jminternelia
Posts: 65
Joined: March 21st, 2017, 3:46 am

Re: Custom 3 Part Button?

Post by jminternelia »

No worries! Super helpful! Had no idea that IfConditions had to be under a measure. This was causing a major headache for other things as well.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Custom 3 Part Button?

Post by balala »

jminternelia wrote: December 14th, 2018, 3:48 pm No worries! Super helpful! Had no idea that IfConditions had to be under a measure. This was causing a major headache for other things as well.
IfCondition, same as IfMatch and IfActions, belong to Measures, as you can see in the Help.
jminternelia
Posts: 65
Joined: March 21st, 2017, 3:46 am

Re: Custom 3 Part Button?

Post by jminternelia »

Ok, somehow that works on the button, but when using a togglevar and measuretoggle to !setoptions for toggling specific skins, it doesn't work.

This one I am almost ready to draw a chart out.

What I am trying to accomplish is in reference to the triangle/3 bar meter I asked about initially.

I have set up a togglevar.

I also have a measuretoggle set up, like we did for the button earlier today.

[MeasureToggle] is (currently) set up read ToggleVar and then to rewrite [ButtonLeft]'s LeftMouseUpAction accordingly.
If [MeasureToggle] = 0, it should set LeftMouseUpAction to !ToggleConfig "Location" "Meter (StaticImageVersion.ini).
If [MeasureToggle] = 1, it should set LeftMouseUpAction to !ToggleConfig "Location" "Meter (AnimationVersion.ini).

BarLeft is intended to toggle off any meters with animations and toggle on alternate versions of meters that do not have animations. Think of it as a performance mode. It also writes a key value to togglevar (0 or 1).

BarTop is intended to activate/deactivate a "game mode", and as such deactivates all but about 3 meters. A subsequent LeftMouseUpAction should, in theory, write the togglevar to either 0 or 1. If it is 0, then when it "deactivates" game mode, it would load an alternate version of the skins that lack animation.

The reason being, eventually I want to set it up so that if BarLeft has changed the key value and as a result also opened meters in either an "animation" or "static" state (essentially just loading different versions of the configs that are tirggered by the key value) then BarTop reads that value and displays the same meters after deactivating and reactivating, and visa versa. Hope that makes sense.

Code: Select all

;____________        .__     /\         ____  __________       .__  
;_   \_____  \_____  |__| ___)/  ______ \   \/  |_____  \ __ __|__| 
; |   |/  ____/\__  \ |  |/    \ /  ___/  \     / /  ____/|  |  \  | 
; |   /       \ / __ \|  |   |  \\___ \   /     \/       \|  |  /  | 
; |___\_______ (____  /__|___|  /____  > /___/\  \_______ \____/|__| 
;             \/    \/        \/     \/        \_/       \/          

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]
Color1=105,222,239
Color2=189,254,248
Color3=86,146,154
U=[!UpdateMeter][!Redraw]
ToggleVar=1

[MeasureToggle]
Measure=Calc
Formula=#ToggleVar#
IfCondition=(MeasureToggle=0)
IfTrueAction=[!SetOption ButtonTop LeftMouseUpAction "[!SetVariable ToggleVar (1-#ToggleVar#)][!WriteKeyValue Variables ToggleVar (1-#ToggleVar#)][!ToggleConfig "X2ui\CPU\Histogram" "Histogram.ini"][!ToggleConfig "X2ui\CPU\ID" "ID.ini"][!ToggleConfig "X2ui\CPU\Usage" "Core Usage (Static).ini"][!ToggleConfig "X2ui\CPU RAM SWAP" "CPU RAM SWAP (Static).ini"][!ToggleConfig "X2ui\Drives" "Drives (Static).ini"][!ToggleConfig "X2ui\GPU" "MGPU (Static).ini"][!ToggleConfig "X2ui\Network" "Network.ini"][!ToggleConfig "X2ui\Network\Obscure IP" "OBscure IP.ini"][!ToggleConfig "X2ui\OS" "OS.ini"][!ToggleConfig "X2ui\Process List" "Process List.ini"][!ToggleConfig "X2ui\CPU\Temps" "6 Cores (Static).ini"]#U#"][!UpdateMeter "ButtonTop"][!Redraw]
IfCondition2=(MeasureToggle=1)
IfTrueAction2=[!SetOption ButtonTop LeftMouseUpAction "[!WriteKeyValue Variables ToggleVar (1-#ToggleVar#)][!SetVariable ToggleVar (1-#ToggleVar#)][!WriteKeyValue Variables ToggleVar (1-#ToggleVar#)][!ToggleConfig "X2ui\CPU\Histogram" "Histogram.ini"][!ToggleConfig "X2ui\CPU\ID" "ID.ini"][!ToggleConfig "X2ui\CPU\Usage" "Core Usage (Animated).ini"][!ToggleConfig "X2ui\CPU RAM SWAP" "CPU RAM SWAP (Animated).ini"][!ToggleConfig "X2ui\Drives" "Drives (Animated).ini"][!ToggleConfig "X2ui\GPU" "MGPU (Animated).ini"][!ToggleConfig "X2ui\Network" "Network.ini"][!ToggleConfig "X2ui\Network\Obscure IP" "OBscure IP.ini"][!ToggleConfig "X2ui\OS" "OS.ini"][!ToggleConfig "X2ui\Process List" "Process List.ini"][!ToggleConfig "X2ui\CPU\Temps" "6 Cores (Animated).ini"]#U#"][!UpdateMeter "ButtonTop"][!Redraw]
DynamicVariables=1

[ButtonTop]
Meter=Image
ImageName=#@#Images\Master Control\Top.png
ImageTint=#Color1#
x=21
w=208
MouseOverAction=[!SetOption ButtonTop ImageTint "#Color3#][!SetOption ButtonLeft ImageTint "#Color1#][!SetOption ButtonRight ImageTint "#Color2#]#U#
LeftMouseDownAction=[!SetOption ButtonTop ImageTint "#Color2#][!SetOption ButtonLeft ImageTint "#Color3#][!SetOption ButtonRight ImageTint "#Color1#]#U#
MouseLeaveAction=[!SetOption ButtonTop ImageTint "#Color1#][!SetOption ButtonLeft ImageTint "#Color2#][!SetOption ButtonRight ImageTint "#Color3#]#U#
LeftMouseUpAction=[!WriteKeyValue Variables ToggleVar (1-#ToggleVar#)][!ToggleConfig "X2ui\CPU\Histogram" "Histogram.ini"][!ToggleConfig "X2ui\CPU\ID" "ID.ini"][!ToggleConfig "X2ui\CPU\Usage" "Core Usage (Animated).ini"][!ToggleConfig "X2ui\CPU RAM SWAP" "CPU RAM SWAP (Animated).ini"][!ToggleConfig "X2ui\Drives" "Drives (Animated).ini"][!ToggleConfig "X2ui\GPU" "MGPU (Animated).ini"][!ToggleConfig "X2ui\Network" "Network.ini"][!ToggleConfig "X2ui\Network\Obscure IP" "OBscure IP.ini"][!ToggleConfig "X2ui\OS" "OS.ini"][!ToggleConfig "X2ui\Process List" "Process List.ini"][!ToggleConfig "X2ui\CPU\Temps" "6 Cores (Animated).ini"]#U#
DynamicVariables=1

[ButtonLeft]
Meter=Image
ImageName=#@#Images\Master Control\Left.png
ImageTint=#Color2#
w=121
y=37
MouseOverAction=[!SetOption ButtonTop ImageTint "#Color3#][!SetOption ButtonLeft ImageTint "#Color1#][!SetOption ButtonRight ImageTint "#Color2#]#U#
LeftMouseDownAction=[!SetOption ButtonTop ImageTint "#Color2#][!SetOption ButtonLeft ImageTint "#Color3#][!SetOption ButtonRight ImageTint "#Color1#]#U#
MouseLeaveAction=[!SetOption ButtonTop ImageTint "#Color1#][!SetOption ButtonLeft ImageTint "#Color2#][!SetOption ButtonRight ImageTint "#Color3#]#U#
LeftMouseUpAction=[!ToggleConfig "X2ui\Quick Launch and Voltage" "Quick Launch with Voltage (Static).ini"][!ToggleConfig "X2ui\CPU\Usage" "Core Usage (Static).ini"][!ToggleConfig "X2ui\CPU RAM SWAP" "CPU RAM SWAP (Static).ini"][!ToggleConfig "X2ui\Drives" "Drives (Static).ini"][!ToggleConfig "X2ui\GPU" "MGPU (Static).ini"][!ToggleConfig "X2ui\CPU\Temps" "6 Cores (Static).ini"]#U#
DynamicVariables=1

[ButtonRight]
Meter=Image
ImageName=#@#Images\Master Control\Right.png
ImageTint=#Color3#
w=121
x=133
y=37
MouseOverAction=[!SetOption ButtonTop ImageTint "#Color3#][!SetOption ButtonLeft ImageTint "#Color1#][!SetOption ButtonRight ImageTint "#Color2#]#U#
LeftMouseDownAction=[!SetOption ButtonTop ImageTint "#Color2#][!SetOption ButtonLeft ImageTint "#Color3#][!SetOption ButtonRight ImageTint "#Color1#]#U#
MouseLeaveAction=[!SetOption ButtonTop ImageTint "#Color1#][!SetOption ButtonLeft ImageTint "#Color2#][!SetOption ButtonRight ImageTint "#Color3#]#U#
LeftMouseUpAction=[!ToggleConfig "X2ui Weather\4 Day Forecast" "4 Day Forecast.ini"][!ToggleConfig "X2ui Weather\Conditions" "Current Location Conditions.ini"][!ToggleConfig "X2ui Weather\Local Radar" "Local Doppler Radar.ini"][!ToggleConfig "X2ui Weather\Wind" "Wind.ini"][!ToggleConfig "X2ui Weather\Weather" "Current Temp and Weather.ini"]#U#
DynamicVariables=1
I found a solution that is working so far, will see if it holds up in the end.

I created a second variable called state. Rather than change the entire LeftMouseAction, I made it so that MeasureToggle changes the varible State to Static or Animated based on what ToggleVar's value is.

I then just changed the ButtonLeft'S LeftMouseClickUp to [!SetVariable ToggleVar (1-#ToggleVar#)][!WriteKeyValue Variables ToggleVar (1-#ToggleVar#)][!ActivateConfig "Some Location" "Some Config (#State#).ini"]

Why is wasn't doing it when I simply typed those loooong as strings as opposed to substituting the....

bleh I am out of words.

Thanks so much for all your help guys. I will be sure to credit all of you on DeviantArt.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Custom 3 Part Button?

Post by balala »

jminternelia wrote: December 14th, 2018, 6:15 pm Why is wasn't doing it when I simply typed those loooong as strings as opposed to substituting the....

bleh I am out of words.
There are two problems with the posted code:
  • For example the posted !SetOption bang of the IfTrueAction option of [MeasureToggle] measure includes the value which has to be set to the LeftMouseUpAction option into quotes, but the value itself contains quotes and in such cases those are confusing the bang. You should have to use Magic quotes (see below) (Same for the IfTrueAction2 option).
  • Another problem is that you've forgot to close the quotes around the values which are set with the !SetOption bangs of MouseOverAction, LeftMouseDownAction and MouseLeaveAction options of the [ButtonTop], [ButtonLeft] and [ButtonRight] meters. You've opened them, but didn't closed.
All these being said, here is a fixed version of the posted code:

Code: Select all

;____________        .__     /\         ____  __________       .__  
;_   \_____  \_____  |__| ___)/  ______ \   \/  |_____  \ __ __|__| 
; |   |/  ____/\__  \ |  |/    \ /  ___/  \     / /  ____/|  |  \  | 
; |   /       \ / __ \|  |   |  \\___ \   /     \/       \|  |  /  | 
; |___\_______ (____  /__|___|  /____  > /___/\  \_______ \____/|__| 
;             \/    \/        \/     \/        \_/       \/          

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]
Color1=105,222,239
Color2=189,254,248
Color3=86,146,154
U=[!UpdateMeter][!Redraw]
ToggleVar=1

[MeasureToggle]
Measure=Calc
Formula=#ToggleVar#
IfCondition=(MeasureToggle=0)
IfTrueAction=[!SetOption ButtonTop LeftMouseUpAction """[!SetVariable ToggleVar (1-#ToggleVar#)][!WriteKeyValue Variables ToggleVar (1-#ToggleVar#)][!ToggleConfig "X2ui\CPU\Histogram" "Histogram.ini"][!ToggleConfig "X2ui\CPU\ID" "ID.ini"][!ToggleConfig "X2ui\CPU\Usage" "Core Usage (Static).ini"][!ToggleConfig "X2ui\CPU RAM SWAP" "CPU RAM SWAP (Static).ini"][!ToggleConfig "X2ui\Drives" "Drives (Static).ini"][!ToggleConfig "X2ui\GPU" "MGPU (Static).ini"][!ToggleConfig "X2ui\Network" "Network.ini"][!ToggleConfig "X2ui\Network\Obscure IP" "OBscure IP.ini"][!ToggleConfig "X2ui\OS" "OS.ini"][!ToggleConfig "X2ui\Process List" "Process List.ini"][!ToggleConfig "X2ui\CPU\Temps" "6 Cores (Static).ini"]#U#"""][!UpdateMeter "ButtonTop"][!Redraw]
IfCondition2=(MeasureToggle=1)
IfTrueAction2=[!SetOption ButtonTop LeftMouseUpAction """[!WriteKeyValue Variables ToggleVar (1-#ToggleVar#)][!SetVariable ToggleVar (1-#ToggleVar#)][!WriteKeyValue Variables ToggleVar (1-#ToggleVar#)][!ToggleConfig "X2ui\CPU\Histogram" "Histogram.ini"][!ToggleConfig "X2ui\CPU\ID" "ID.ini"][!ToggleConfig "X2ui\CPU\Usage" "Core Usage (Animated).ini"][!ToggleConfig "X2ui\CPU RAM SWAP" "CPU RAM SWAP (Animated).ini"][!ToggleConfig "X2ui\Drives" "Drives (Animated).ini"][!ToggleConfig "X2ui\GPU" "MGPU (Animated).ini"][!ToggleConfig "X2ui\Network" "Network.ini"][!ToggleConfig "X2ui\Network\Obscure IP" "OBscure IP.ini"][!ToggleConfig "X2ui\OS" "OS.ini"][!ToggleConfig "X2ui\Process List" "Process List.ini"][!ToggleConfig "X2ui\CPU\Temps" "6 Cores (Animated).ini"]#U#"""][!UpdateMeter "ButtonTop"][!Redraw]
DynamicVariables=1

[ButtonTop]
Meter=Image
ImageName=#@#Images\Master Control\Top.png
ImageTint=#Color1#
x=21
w=208
MouseOverAction=[!SetOption ButtonTop ImageTint "#Color3#"][!SetOption ButtonLeft ImageTint "#Color1#"][!SetOption ButtonRight ImageTint "#Color2#"]#U#
LeftMouseDownAction=[!SetOption ButtonTop ImageTint "#Color2#"][!SetOption ButtonLeft ImageTint "#Color3#"][!SetOption ButtonRight ImageTint "#Color1#"]#U#
MouseLeaveAction=[!SetOption ButtonTop ImageTint "#Color1#"][!SetOption ButtonLeft ImageTint "#Color2#"][!SetOption ButtonRight ImageTint "#Color3#"]#U#
LeftMouseUpAction=[!WriteKeyValue Variables ToggleVar "(1-#ToggleVar#)"][!ToggleConfig "X2ui\CPU\Histogram" "Histogram.ini"][!ToggleConfig "X2ui\CPU\ID" "ID.ini"][!ToggleConfig "X2ui\CPU\Usage" "Core Usage (Animated).ini"][!ToggleConfig "X2ui\CPU RAM SWAP" "CPU RAM SWAP (Animated).ini"][!ToggleConfig "X2ui\Drives" "Drives (Animated).ini"][!ToggleConfig "X2ui\GPU" "MGPU (Animated).ini"][!ToggleConfig "X2ui\Network" "Network.ini"][!ToggleConfig "X2ui\Network\Obscure IP" "OBscure IP.ini"][!ToggleConfig "X2ui\OS" "OS.ini"][!ToggleConfig "X2ui\Process List" "Process List.ini"][!ToggleConfig "X2ui\CPU\Temps" "6 Cores (Animated).ini"]#U#
DynamicVariables=1

[ButtonLeft]
Meter=Image
ImageName=#@#Images\Master Control\Left.png
ImageTint=#Color2#
w=121
y=37
MouseOverAction=[!SetOption ButtonTop ImageTint "#Color3#"][!SetOption ButtonLeft ImageTint "#Color1#"][!SetOption ButtonRight ImageTint "#Color2#"]#U#
LeftMouseDownAction=[!SetOption ButtonTop ImageTint "#Color2#"][!SetOption ButtonLeft ImageTint "#Color3#"][!SetOption ButtonRight ImageTint "#Color1#"]#U#
MouseLeaveAction=[!SetOption ButtonTop ImageTint "#Color1#"][!SetOption ButtonLeft ImageTint "#Color2#"][!SetOption ButtonRight ImageTint "#Color3#"]#U#
LeftMouseUpAction=[!ToggleConfig "X2ui\Quick Launch and Voltage" "Quick Launch with Voltage (Static).ini"][!ToggleConfig "X2ui\CPU\Usage" "Core Usage (Static).ini"][!ToggleConfig "X2ui\CPU RAM SWAP" "CPU RAM SWAP (Static).ini"][!ToggleConfig "X2ui\Drives" "Drives (Static).ini"][!ToggleConfig "X2ui\GPU" "MGPU (Static).ini"][!ToggleConfig "X2ui\CPU\Temps" "6 Cores (Static).ini"]#U#
DynamicVariables=1

[ButtonRight]
Meter=Image
ImageName=#@#Images\Master Control\Right.png
ImageTint=#Color3#
w=121
x=133
y=37
MouseOverAction=[!SetOption ButtonTop ImageTint "#Color3#"][!SetOption ButtonLeft ImageTint "#Color1#"][!SetOption ButtonRight ImageTint "#Color2#"]#U#
LeftMouseDownAction=[!SetOption ButtonTop ImageTint "#Color2#"][!SetOption ButtonLeft ImageTint "#Color3#"][!SetOption ButtonRight ImageTint "#Color1#"]#U#
MouseLeaveAction=[!SetOption ButtonTop ImageTint "#Color1#"][!SetOption ButtonLeft ImageTint "#Color2#"][!SetOption ButtonRight ImageTint "#Color3#"]#U#
LeftMouseUpAction=[!ToggleConfig "X2ui Weather\4 Day Forecast" "4 Day Forecast.ini"][!ToggleConfig "X2ui Weather\Conditions" "Current Location Conditions.ini"][!ToggleConfig "X2ui Weather\Local Radar" "Local Doppler Radar.ini"][!ToggleConfig "X2ui Weather\Wind" "Wind.ini"][!ToggleConfig "X2ui Weather\Weather" "Current Temp and Weather.ini"]#U#
DynamicVariables=1
jminternelia
Posts: 65
Joined: March 21st, 2017, 3:46 am

Re: Custom 3 Part Button?

Post by jminternelia »

Rather than open a new post, especially on a topic that has been likely answered hundreds of times, how do I manage to force a refresh of a skin properly after webparser completes a download?

I have the following skin that parses radar images (12 of them) for use in an animation, as well as topography and state/county lines. After much blood, sweat and fury I managed to get everything to download, but I have to manually refresh to get the topography to download. Obviously, I assume that the meter starts displaying prior to webparser actually completing download of topography.jpg. Ive tried a few approaches with FinishAction, but the only one I've managed to get working is !RefreshApp, which seems a bit overkill.

Code: Select all

; ____________        .__     /\         ____  __________       .__  
;|_   \_____  \_____  |__| ___)/  ______ \   \/  |_____  \ __ __|__| 
; |   |/  ____/\__  \ |  |/    \ /  ___/  \     / /  ____/|  |  \  | 
; |   /       \ / __ \|  |   |  \\___ \   /     \/       \|  |  /  | 
; |___\_______ (____  /__|___|  /____  > /___/\  \_______ \____/|__| 
;             \/    \/        \/     \/        \_/       \/          

[Metadata]
Author=12a!n

[Rainmeter]
Update=175

[Variables]

@IncludeVars=#@#Variables.inc
;closest radar site name, from http://forecast.weather.gov/jetstream/doppler/ridge_download.htm
;Radar range (can be Short or Long)
Range=Short
;product type, from http://forecast.weather.gov/jetstream/doppler/ridge_download.htm
;if using Long range, Type MUST be N0Z
Type=N0R
RSite=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RSite2=http://radar.weather.gov/ridge/Overlays/County/#Range#/#NEXRADid#_County_Short.gif
RSite3=https://radar.weather.gov/ridge/Overlays/Topo/Short/#NEXRADid#_Topo_Short.jpg

;=======================================================================

[MeasureTopography]
Measure=Webparser
Url=https://radar.weather.gov/ridge/Overlays/Topo/#Range#/#NEXRADid#_Topo_Short.jpg
Download=1
DownloadFile=topo.jpg
UpdateRate=-1

[MeasureImage]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar0.gif

[MeasureImage1]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar1.gif

[MeasureImage2]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar2.gif

[MeasureImage3]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar3.gif

[MeasureImage4]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar4.gif

[MeasureImage5]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar5.gif

[MeasureImage6]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar6.gif

[MeasureImage7]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar7.gif

[MeasureImage8]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href=".*".*"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar8.gif

[MeasureImage9]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar9.gif

[MeasureImage10]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar10.gif

[MeasureImage11]
Measure=Webparser
UpdateRate=1764
Url=http://radar.weather.gov/ridge/RadarImg/#type#/#NEXRADid#/?C=M;O=D
RegExp=(?siU)"/icons/image2.gif" alt="\[IMG]"></td><td><a href="(.*)"
StringIndex=1
Download=1
DownloadFile=radar11.gif
FinishAction=[!UpdateMeasure MeasureTopography][!UpdateMeter DisplayTopography][!Redraw]

;=======================================================================

[MeasureCounties]
Measure=Webparser
Url=http://radar.weather.gov/ridge/Overlays/County/#Range#/#NEXRADid#_County_Short.gif
Download=1
DownloadFile=counties.gif
UpdateRate=1764

[DisplayTopography]
Meter=Image
ImageName=#CURRENTPATH#DownloadFile\topo.jpg
MaskImagePath=#@#Images\map\
MaskImageName=Mask.png
AntiAlias=1
W=1312
X=0
y=0
ColorMatrix1=0;0;0;0;0
ColorMatrix2=0;0.12;0;0;0
ColorMatrix3=0;0.33;1.04;0;0
ColorMatrix4=0.1;0;-0.3;0.8;0.2
ColorMatrix5=0;0;0;0;1
LeftMouseUpAction=https://radar.weather.gov/ridge/radar.php?rid=#NEXRADid#&product=#Type#&overlay=11101111&loop=yes


[RadarAnimation]
Measure=Calc
Formula=Counter % 12

[DisplayRadar]
Meter=Image
ImageName=#CURRENTPATH#DownloadFile\radar[RadarAnimation].gif
MaskImagePath=#@#Images\map\
MaskImageName=Mask.png
AntiAlias=1
DynamicVariables=1
W=1312
X=0
Y=0
ColorMatrix1=1;0;0;0;0
ColorMatrix2=0;0.9;0.3;0;0
ColorMatrix3=0;0;1;0;0
ColorMatrix4=0;0;0;1.1;0
ColorMatrix5=0;0;0;0;1
LeftMouseUpAction=https://radar.weather.gov/ridge/radar.php?rid=#NEXRADid#&product=#Type#&overlay=11101111&loop=yes

[DisplayCounties]
Meter=Image
ImageName="#CURRENTPATH#DownloadFile\counties.gif"
MaskImagePath=#@#Images\map\
MaskImageName=Mask.png
AntiAlias=1
W=1312
X=0
Y=0
ColorMatrix1=-0.5;1.7;0;0;0
ColorMatrix2=-2;0.5;0.5;0;0
ColorMatrix3=-0.5;1.2;0.1;0;0
ColorMatrix4=-0.9;0;0.9;0.5;0
ColorMatrix5=1;0;0;0;1
ColorMatrix6=1.089508;-0.9326327;-0.932633;0;0
ColorMatrix7=-1.817718;0.1683074;-1.841692;0;0
ColorMatrix8=-0.2445895;-0.2478156;1.762185;0;0
ColorMatrix9=0;0;0;0.3;0
ColorMatrix10=1;1;1;0;1
LeftMouseUpAction=https://radar.weather.gov/ridge/radar.php?rid=#NEXRADid#&product=#Type#&overlay=11101111&loop=yes

[MeterOverlayD]
Meter=Image
ImageName=#@#Images\map\mapOVERLAY.png
X=0
Y=0
w=1312
ImageAlpha=225
LeftMouseUpAction=https://radar.weather.gov/ridge/radar.php?rid=#NEXRADid#&product=#Type#&overlay=11101111&loop=yes

;=======================================================================

[MeasureConditions]
Measure=WebParser
URL=#WebSite2#
RegExp=(?siU).*<city id=".*".*name=".*".*<sun rise=".*".*set=".*".*<temperature value=".*".* min=".*".*max=".*".*unit=".*".*<humidity value="(.*)".*<pressure value="(.*)".*unit="(.*)".*<speed value=".*".*name=".*".*<direction value=".*".*code=".*".*<clouds value="(.*)"
UpdateRate=1764

[MeasureHumidity]
Measure=WebParser
URL=[MeasureConditions]
StringIndex=1
UpdateRate=1764

[MeasurePressure]
Measure=WebParser
URL=[MeasureConditions]
StringIndex=2
UpdateRate=1764

[MeasurePressureUnit]
Measure=WebParser
URL=[MeasureConditions]
StringIndex=3
UpdateRate=1764

[MeasureCloudCover]
Measure=WebParser
URL=[MeasureConditions]
StringIndex=4
UpdateRate=1764

[MeterhPa]
Meter=String
MeasureName=MeasurePressure
MeasureName2=MeasurePressureUnit
FontColor=130,209,222
FontFace=Denton
FontSize=7
AntiAlias=1
StringAlign=Left
Text=AIR PRESSURE: %1 %2
InlinePattern=E:(.*)
InlineSetting=Color | 251,134,80
X=310
Y=837

[MeterHumidity]
Meter=String
MeasureName=MeasureHumidity
FontColor=130,209,222
FontFace=Denton
FontSize=7
AntiAlias=1
StringAlign=Left
Text=HUMIDITY: %1%
InlinePattern=Y:(.*)
InlineSetting=Color | 251,134,80
X=r
Y=5R

[MeterCloudCover]
Meter=String
MeasureName=MeasureCloudCover
FontColor=130,209,222
FontFace=Denton
FontSize=7
AntiAlias=1
StringAlign=Left
Text=CLOUD COVER: %1%
InlinePattern=R:(.*)
InlineSetting=Color | 251,134,80
X=r
Y=5R


Perhaps some counter and a writekeyvar? I obviously want to avoid getting in a feedback loop.