It is currently March 29th, 2024, 10:59 am

Universal Transitions

Discuss the use of Lua in Script measures.
User avatar
Mordasius
Posts: 1167
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: Universal Transitions

Post by Mordasius »

Yup.. That works perfectly Thanks.

Now all I need to do is work out how to apply this to MeterGroups. I've had enough for today and will get back to you tomorrow if I can't figure it out (I'm trying to use it on a weather skin with 30+ meters and 4 meter groups).
Alex Becherer

Re: Universal Transitions

Post by Alex Becherer »

remove the Hidden=1 ?

too late :)
User avatar
lysy1993lbn
Posts: 291
Joined: July 25th, 2011, 9:53 am
Location: Lublin, Poland

Re: Universal Transitions

Post by lysy1993lbn »

I noticed that it stopped working since today beta build (1637)

• EDIT

Log "says" Script: File not valid in [Transition] on skin load or refresh..
"Never argue with an idiot, he will drag you down to his level and beat you with experience."
my deviantART | Alternative Rainmeter tray icons
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Universal Transitions

Post by Kaelri »

This was caused by a bug in today's beta related to this issue, and has now been fixed. Grab the updated beta from the homepage. Sorry about that; thanks for reporting. :)
eL-Falso
Posts: 5
Joined: June 6th, 2012, 8:06 am
Location: Dresden, GER

Re: Universal Transitions

Post by eL-Falso »

I can't manage how to get the MoveByY-transition working for MeterGroups... Damn variable name parameter!

Could somebody of you give me a complete example for it?
Rainmeter addict.
DeviartArt Profile

Current WIP-Desktop (Low-Quality atm):
http://puu.sh/z76w
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: Universal Transitions

Post by Active Colors »

For me groups also don't work :(
User avatar
wiedzmawiedzma
Posts: 112
Joined: August 18th, 2012, 5:19 pm

Re: Universal Transitions

Post by wiedzmawiedzma »

Is it possible that the skin "FluidReader" clog memory when the system is off screen?
User avatar
Shadowspectre87
Posts: 1
Joined: May 19th, 2013, 4:35 am

Re: Universal Transitions

Post by Shadowspectre87 »

Very new to Rainmeter and the Fade In, Fade Out is exactly what I am looking for. I am going to use it on a Button to fit a Halo skin I am making. Does this work on an image? I saw the lua script does not recognize MeterStyles in an earlier issue and did not know if that applied to using images for Buttons. Here is the bare essentials of the skin. Any help would be much appreciated. I have downloaded the Transition.lua already and have to say very nice work!
[Rainmeter]
Update=1000

[Transition]
Measure=Script
ScriptFile=Transition.lua

[ButtonFade]
Meter=Image
ImageName=C:\Users\Gregg\Documents\Rainmeter\Skins\Halo\Button Fade\ReclaimerButton.png
X=0
Y=0
W=140
H=160
LeftMouseUpAction=["http://www.halowaypoint.com/en-us/"]
LinkPlay9
Posts: 5
Joined: October 11th, 2012, 4:28 pm

Re: Universal Transitions

Post by LinkPlay9 »

This is great! Thanks :D

But I'm not able to make it fade images. Is it just me or is this script not able to do that?
User avatar
nickzlapeor
Posts: 16
Joined: December 28th, 2012, 5:22 pm
Location: Mumbai, India

Re: Universal Transitions

Post by nickzlapeor »

Shadowspectre87 wrote:Very new to Rainmeter and the Fade In, Fade Out is exactly what I am looking for. I am going to use it on a Button to fit a Halo skin I am making. Does this work on an image? I saw the lua script does not recognize MeterStyles in an earlier issue and did not know if that applied to using images for Buttons. Here is the bare essentials of the skin. Any help would be much appreciated. I have downloaded the Transition.lua already and have to say very nice work!
[Rainmeter]
Update=1000

[Transition]
Measure=Script
ScriptFile=Transition.lua

[ButtonFade]
Meter=Image
ImageName=C:\Users\Gregg\Documents\Rainmeter\Skins\Halo\Button Fade\ReclaimerButton.png
X=0
Y=0
W=140
H=160
LeftMouseUpAction=["http://www.halowaypoint.com/en-us/"]
1. Change Update=1000 to something less, Update=20

2. Add ImageAlpha=0 or 10 to [ButtonFade]

3. Add
MouseOverAction=[!CommandMeasure Transition "FadeIn('ButtonFade')"]
MouseLeaveAction=[!CommandMeasure Transition "FadeOut('ButtonFade')"]
to [ButtonFade]

Thats how I added fade effects! If you needed something other than what this does, I'm sorry.