It is currently April 27th, 2024, 11:10 pm

How to post(show) a png during only five seconds?

General topics related to Rainmeter.
arthemus
Posts: 8
Joined: October 14th, 2011, 9:37 am

How to post(show) a png during only five seconds?

Post by arthemus »

hello!! :welcome:

i'm french... :)

How to post(show) a png during only five seconds?
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: How to post(show) a png during only five seconds?

Post by MerlinTheRed »

You have to be a little more specific about this. The answer depends heavily on the circumstances the png should be displayed in.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
arthemus
Posts: 8
Joined: October 14th, 2011, 9:37 am

Re: How to post(show) a png during only five seconds?

Post by arthemus »

hi!!

my file ini is:

Code: Select all

[Rainmeter]


Author=nawak
Update=10000


[Overlay]
Meter=Image
ImageName=alienware.png
X=142
Y=380
and I would want that he(it) appears five seconds then closes

May be with OnRefreshAction =!execute [!DeActivateConfig alienware cartouche.ini] but with this command ,the skin close imediatly
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: How to post(show) a png during only five seconds?

Post by smurfier »

Assuming your Update is equal to 1000 which is 1 second.

Code: Select all

[cCounter]
Measure=Calc
Formula=cCounter+1
IfAboveValue=5
IfAboveAction=!Execute [!DisableMeasure cCounter][!HideMeter PNG]

[PNG]
Meter=Image
Blah...
Blah...
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
arthemus
Posts: 8
Joined: October 14th, 2011, 9:37 am

Re: How to post(show) a png during only five seconds?

Post by arthemus »

smurfier wrote:Assuming your Update is equal to 1000 which is 1 second.

Code: Select all

[cCounter]
Measure=Calc
Formula=cCounter+1
IfAboveValue=5
IfAboveAction=!Execute [!DisableMeasure cCounter][!HideMeter PNG]

[PNG]
Meter=Image
Blah...
Blah...
yes!!!

That works perfectly...

All over thanks!!!

bye!! :welcome: