Quantcast
Viewing all articles
Browse latest Browse all 705

Help: Rainmeter Skins • Re: Popup Toast Notifications

Recurring events are mostly a matter of summing up the desired recurring interval in seconds and the value of [MeasureAlarmTime] right after [MeasureToast] is run, then using that result as a timestamp in another Time measure that would set the #Month#, #Day#, etc. variables based on that timestamp. Then, the reminder process should be restarted, so to speak.

Something along these lines as that new Time measure:

Code:

[SetRecurringTime]Measure=TimeTimestamp=([MeasureAlarmTime:Timestamp]+#Interval#)Format=%m %d %y %H %M %SRegExpSubstitute=1Substitute="^(\d+) (\d+) (\d+) (\d+) (\d+) (\d+)$":'[!SetVariable Month "\1"][!SetVariable Day "\2"][!SetVariable Year "\3"][!SetVariable Hour "\4"][!SetVariable Minute "\5"][!SetVariable Second "\6"]'UpdateDivider=-1OnUpdateAction=[SetRecurringTime]DynamicVariables=1Disabled=1
This uses a single measure to add the recurring interval to the alarm time and then set the variables based on the result, via substituting to bangs and executing them whenever this measure is updated. Obviously, this isn't enough, as such a measure would need to be enabled and updated after [MeasureToast] is run and integrated nicely into the existing code and the process that's going on there, but I suppose eclectic-tech, the author of the skin, would know better how to do that and whether such an approach is suitable for his skin.

One easier and rudimentar way to do it in the meantime would be to just duplicate such a reminder folder / skin to another name, and adjust the alarm variables in the duplicates accordingly, but yeah, that's more or less the same as manually inputting a new alarm eventually.

Not sure about keeping the editing stuff on the screen. If that's a skin and is hidden or unloaded, probably looking for !Hide bangs and removing them would do, and if that's just some meters, looking for !HideMeter or !HideMeterGroup and doing the same would get you on the right track.

Statistics: Posted by Yincognito — Today, 1:43 pm



Viewing all articles
Browse latest Browse all 705

Trending Articles