Rainmeter - please help with creating my first skin

kopeckja

New member
Local time
5:27 AM
Messages
2
Hello guys,

I have problem with creating skin for a rainmeter, I want to make an icon that is transparent and when I move my mouse on it, it turns smoothly into picture, when mouse is moved away it fades away again - in other words it plays some frames of bitmap image, and then plays it backwards.

here is my current code:

[Rainmeter]
Update=5000
TransitionUpdate=500

[Variables]
X=1

[MeterSample]
!SetVariable X #0#
LeftMouseUpAction=[!SetVariable X #0#]

Meter=Bitmap
MeasureName=MeasureOne
BitmapImage=ikona.bmp
BitmapFrames=6
BitmapTransitionFrames=4

[MeasureOne]
Measure=Calc
Formula=#X#


It works this way: plays image from first till last and stops, no reaction to mouse or anything. Problem is, that Im unable to change value of variable X (it remains 1 no matter what), I tried all possible varieties how to use !SetVariable "X" "0", but no effect. Can somebody help me? I started to work on it this morning and its pissing me off more and more :-D (by the way ikona.bmp is only quickly made picture for testing, I know that I need .png for transparency)
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
I somehow managed to make the program work without having to change variable (I used counter instead and when I needed value "0" I just resetted and stopped it), but I still wonder how to change value of variable, it must be possible - since its totally basic thing.
Someone please explain me how to work with variables, I quite dont get it from whats written at rainmeter.net
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Back
Top