It is currently October 15th, 2019, 7:57 pm

Universal Transitions

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

Re: Universal Transitions

Spherre » October 14th, 2013, 9:58 pm

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

wiedzmawiedzma » November 20th, 2013, 10:52 am

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

dilshad » February 9th, 2014, 7:04 am

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

AsMoDeO » March 12th, 2014, 2:18 pm

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

dilshad » March 13th, 2014, 10:16 am

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: 220
Joined: July 14th, 2012, 7:26 am

Re: Universal Transitions

TweaknFreak » June 22nd, 2014, 9:12 pm

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: 68
Joined: October 1st, 2012, 4:53 am

Re: Universal Transitions

Wallboy » August 9th, 2014, 4:43 am

Can someone post a working example with groups?