It is currently October 9th, 2024, 5:00 am

Simple countdown timer

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

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.
from the Realm of Death
User avatar
Active Colors
Moderator
Posts: 1318
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

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: 1398
Joined: April 24th, 2021, 8:13 pm

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/
from the Realm of Death
User avatar
jsmorley
Developer
Posts: 22843
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: 1318
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

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: 22843
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: 8390
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:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
jsmorley
Developer
Posts: 22843
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: 8390
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. ;-)
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1829
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Simple countdown timer

Post by sl23 »

:welcome:
Last edited by sl23 on September 4th, 2024, 6:49 am, edited 1 time in total.
57686174 77696C6C 6265 77696C6C 6265