It is currently November 14th, 2019, 7:39 am

Universal Transitions

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

Re: Universal Transitions

Mordasius » October 7th, 2012, 3:33 pm

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

Alex Becherer » October 7th, 2012, 3:34 pm

remove the Hidden=1 ?

too late :)
lysy1993lbn
Posts: 286
Joined: July 25th, 2011, 9:53 am
Location: Manchester, UK

Re: Universal Transitions

lysy1993lbn » October 7th, 2012, 7:23 pm

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: 1739
Joined: July 25th, 2009, 4:47 am

Re: Universal Transitions

Kaelri » October 7th, 2012, 7:59 pm

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

eL-Falso » October 31st, 2012, 2:39 pm

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: 529
Joined: February 16th, 2012, 3:32 am

Re: Universal Transitions

Active Colors » January 26th, 2013, 11:14 pm

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

Re: Universal Transitions

wiedzmawiedzma » February 26th, 2013, 10:05 pm

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

Shadowspectre87 » May 21st, 2013, 5:45 am

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

LinkPlay9 » June 23rd, 2013, 3:00 pm

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

nickzlapeor » July 4th, 2013, 10:14 am

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.