It is currently March 29th, 2024, 9:41 am

Universal Transitions

Discuss the use of Lua in Script measures.
Spherre
Posts: 1
Joined: October 14th, 2013, 9:47 pm

Re: Universal Transitions

Post by Spherre »

I need a metergroup to be hidden after it becomes invisible with FadeOut.

Would it be possible for you to add a parameter to FadeOut so that the meter or metergroup is hidden when FadeOut finishes (and is shown again before FadeIn starts)?
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 ram memory when the system is off screen? I have this problem on two computers when this skin is running.
When the screen is turned off, the memory Ram clog to the maximum.
I asked about this before "Tue Feb 26, 2013 11:05 pm" but have not received a reply so I can try again.

Attachments:
Screenshot and modified skin from Kaelri
You do not have the required permissions to view the files attached to this post.
User avatar
dilshad
Posts: 85
Joined: August 31st, 2012, 4:23 am

Re: Universal Transitions

Post by dilshad »

Code: Select all

[Rainmeter]
Update=50

[Variables]
UpdateMultiplier=20

[Transition]
Measure=Script
ScriptFile=Transition.lua


[Line1]
Meter=image
ImageName=#@#\hello
LeftMouseUpAction=[!HideMeter Line1] [!ShowMeter Line2] [!CommandMeasure Transition "FadeIn('Line2')"][!CommandMeasure Transition "FadeOut('Line1')"]

[Line2]
Meter=Image
ImageName=#@#\hello2
LeftMouseUpAction=[!HideMeter Line2] [!ShowMeter Line1] [!CommandMeasure Transition "FadeIn('Line1')"][!CommandMeasure Transition "FadeOut('Line2')"]
Hidden=1
Why this doesn't work i cant figure it out..please help
[ BOXES ]
I will be coming with it soon!

■■ DeviantartFacebookMy works ■■
User avatar
AsMoDeO
Posts: 31
Joined: October 19th, 2013, 12:24 am
Location: Portugal

Re: Universal Transitions

Post by AsMoDeO »

I just realized how awesome this is and have been playing around with it.

dilshad if you still haven't figured it out by now, I think this works:

Code: Select all

[Line1]
Meter=image
ImageName=#@#\hello
ImageAlpha=255
LeftMouseUpAction=[!CommandMeasure Transition "FadeIn('Line2')"][!CommandMeasure Transition "FadeOut('Line1')"]
; or simply LeftMouseUpAction=[!CommandMeasure Transition "FadeToggle('Line1,Line2')"]

[Line2]
Meter=Image
ImageName=#@#\hello2
ImageAlpha=0
LeftMouseUpAction=[!CommandMeasure Transition "FadeIn('Line1')"][!CommandMeasure Transition "FadeOut('Line2')"]
; or simply LeftMouseUpAction=[!CommandMeasure Transition "FadeToggle('Line1,Line2')"]
User avatar
dilshad
Posts: 85
Joined: August 31st, 2012, 4:23 am

Re: Universal Transitions

Post by dilshad »

Thanks to you AsMoDeO
I figured it out a very long time ago and lately I have my Demesne skin suite v2.0 in progress...I have been using this Transition script in it and it's just working awesome...Thanks again..
[ BOXES ]
I will be coming with it soon!

■■ DeviantartFacebookMy works ■■
User avatar
TweaknFreak
Posts: 217
Joined: July 14th, 2012, 7:26 am

Re: Universal Transitions

Post by TweaknFreak »

Well as far I understood there's no other way to produce this effect other than creating 2 instances of a meter. Am I right to say this ?
Be one of the iNEViTABLES - Storm, Earthquake, Lightning, Flood - and the world will bow down to you.

My current desktop
[hsimg]http://i1313.photobucket.com/albums/t559/TweaknFreak/6-22-20149-46-40PM_zps7bcbc1f6.png[/hsimg]
Wallboy
Posts: 70
Joined: October 1st, 2012, 4:53 am

Re: Universal Transitions

Post by Wallboy »

Can someone post a working example with groups?