It is currently March 28th, 2024, 12:12 pm

Simple countdown timer

Get help with creating, editing & fixing problems with skins
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm
Contact:

Re: Simple countdown timer

Post by death.crafter »

I wouldn't say that's a good idea.

If someone makes a lock screen even out of joke and distributes it, it would be a nuisance. And an non technical user may fall prey to these kind of lunacy, making Rainmeter and its team look bad.

You get the picture.
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany
Contact:

Re: Simple countdown timer

Post by Active Colors »

sl23 wrote: July 2nd, 2021, 8:23 am is there a way to create a complete context menu but without the option to edit or unload?
You can leave it completely empty if you want:

Code: Select all

[Rainmeter]
ContextTitle=
ContextAction=
or put a refresh option for instance:

Code: Select all

[Rainmeter]
ContextTitle=Refresh
ContextAction=[!Refresh]
But I am not sure if in your case Refresh would reset the countdown or drop it to zero.
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm
Contact:

Re: Simple countdown timer

Post by death.crafter »

sl23 wrote: July 2nd, 2021, 8:22 am He's only 9 but is a bugger to get off the pc so thought about not giving him the choice! Lol
I wondered the same thing. I'm going to have to hide the app though so he can't dig around and disable it! O.O
If you want parental controls, you can use the built in windows features instead of faking it in Rainmeter. And you can have better control that way.

https://news.microsoft.com/en-in/features/windows-10-parental-controls-feature/
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Simple countdown timer

Post by jsmorley »

Active Colors wrote: July 2nd, 2021, 9:59 am You can leave it completely empty if you want:

Code: Select all

[Rainmeter]
ContextTitle=
ContextAction=
This won't work. Try:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
RightMouseUpAction=[]
User avatar
Active Colors
Moderator
Posts: 1251
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany
Contact:

Re: Simple countdown timer

Post by Active Colors »

jsmorley wrote: July 2nd, 2021, 10:04 am This won't work. Try:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
RightMouseUpAction=[]
Oops, I forgot RightMouseUpAction=[!SkinCustomMenu]
It had to be this way:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=
ContextAction=
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Simple countdown timer

Post by jsmorley »

And in an answer to an earlier question, we won't ever build in a way to "lock down" Rainmeter. That is just not what it is about. The end-user sitting in front of the computer will always have full control over Rainmeter.
User avatar
Yincognito
Rainmeter Sage
Posts: 7017
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Simple countdown timer

Post by Yincognito »

sl23 wrote: July 1st, 2021, 9:04 pmThanks, I did come across this, but was hoping for non-lua code.
sl23 wrote: July 1st, 2021, 9:50 pmI've managed to change the TimerNixie skin to what I wanted...
sl23 wrote: July 2nd, 2021, 12:00 amIt's basically used to restrict my sons PC time :D
When people say they hope to avoid something but they actually settle for the thing they wanted to avoid in the first place...
Image
When your son discovers you restricted his PC time...
Image
But then, when he finally manages to circumvent your restricting PC time measures...
Image
May your son be healthy and be a quality member of this forum when he grows up. :sly:
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Simple countdown timer

Post by jsmorley »

Active Colors wrote: July 2nd, 2021, 10:06 am Oops, I forgot RightMouseUpAction=[!SkinCustomMenu]
It had to be this way:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=
ContextAction=

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
ContextTitle=I don't think so Tim
ContextAction=[]
RightMouseUpAction=[!SkinCustomMenu]
User avatar
Yincognito
Rainmeter Sage
Posts: 7017
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Simple countdown timer

Post by Yincognito »

Both context title and context action require some values assigned to the options (even if it's a "separator" or "do nothing" thing), as jsmorley pointed out. I had the same "problem" recently. ;-)
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Simple countdown timer

Post by sl23 »

This forum must have the best community on the internet! Everyone is so helpful, I just want to say thank you to everyone for your comments and help.

It's a shame XYplorer forum isn't this good! It's a nightmare in comparison! :o I wish I could get the help with the scripting like on here!

I can understand you not wanting the ability to lock out users, but I still think it would be a useful feature. But we can't have everything :D

I originally used RightMouseUpAction=0 to block right click actions. But thought that might entice him to explore why he can't as he's seen me do it lol

I don't want it to refresh as it'll restart the timer! Bad!!

Thanks Yincognito, be sure, I will teach him the ways of Rainmeter! :x 8-) :rofl:
Post Reply