Rainmeter - please help with creating my first skin


  1. Posts : 2
    Windows 7 Ultimate x64
       #1

    Rainmeter - please help with creating my first skin


    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


  2. Posts : 2
    Windows 7 Ultimate x64
    Thread Starter
       #2

    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


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:01.
Find Us