Hello all,having a problem with dynamicvariables and imagerotate in a meter.The following code is taken from a skin i'm working on.The problem is with the meter [Charging]
The first problem is I require the meter [charging] to be hidden until called for by the variable #Hide01# in the measure [mStatus] i require dynamicvariables set to 1 for the dynamicvariable #Angle# to function but this is preventing #Hide01# from showing the meter [Charging] and if i change hidden=1 to 0 the variable #hide01# works fine.I dont know why dynamicvariables=1 is interacting with hidden=1.
The second problem is if I change hidden=1 to 0 just to see the meters image,when the variable #angle# changes the image moves down due to it now being of greater hight and still at a y=17 position.Is it possible to set the meter to autocrop the image or some way of anchoring the image.
Sorry,I am really bad at explaining things.I've uploaded the skin if that helps.Any help greatly appreciated.
You do not have the required permissions to view the files attached to this post.
Last edited by Jkon on April 10th, 2010, 5:10 pm, edited 1 time in total.
Hidden=1 works fine with DynamicVariables=1, it's !RainmeterShowMeter and !RainmeterHideMeter that don't work properly. The same goes for !RainmeterEnableMeasure and !RainmeterDisableMeasure.
Yes, using the dynamic variable with hidden works,unfortunatly I've had to find a work around for the rotation problem and no longer need the dynamic variable in the meter.That said it's very strange that they would not work together when both set to 1.I'm sure i've used them together before and wonder if it's to do with the new image rotate and image tint commands as i noticed while trying to find a work around that i could not use dynamicvariables to change the value of Imageflip= between "none" and "Horizontal".Thanks for your help faraday.
If you have DynamicVariables=1 set on a meter, you cannot use !RainmeterHideMeter or !RainmeterShowMeter to hide and show it. The same goes for a measure being enabled or disabled.
Alex2539 wrote:If you have DynamicVariables=1 set on a meter, you cannot use !RainmeterHideMeter or !RainmeterShowMeter to hide and show it. The same goes for a measure being enabled or disabled.