Teacher you are right . it doesn't disappear with mouse over, just with Update the full skin. Something is not updating with the mouse over? can it be?Yincognito wrote: ↑October 7th, 2024, 5:10 pm
will always keep the message shown, because it will set that Hidden option to 0 in either
It is currently October 18th, 2024, 11:23 am
Problem with YouTube Subs Counter
-
- Posts: 70
- Joined: September 21st, 2024, 4:57 pm
- Location: Germany, in the stone cave
Re: Problem with YouTube Subs Counter
-
- Rainmeter Sage
- Posts: 8485
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Problem with YouTube Subs Counter
Well, you control what is updated, via the related bangs. So, the !SetOption should be followed by updating the relevant meters or meter group (probably, the Large group) and obviously redrawing the skin. Not sure if that is the problem, but if you can't solve it till then, I might take a look at the code later tonight or tomorrow.
-
- Posts: 70
- Joined: September 21st, 2024, 4:57 pm
- Location: Germany, in the stone cave
Re: Problem with YouTube Subs Counter
I'm sure you know more than I do . I've tried various things but I don't know what to do . I don't have a solution this scenario
;---------------------------------------------------------------------------------
So after 2 Hours reading, testing and now i got the stupid error! . One little thing that i forgot . Set >>> Dynamic Variables=1 <<< in the sektion [Background] . Now it works
Big Thanks for your Time and work Yincognito
-
- Rainmeter Sage
- Posts: 8485
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Problem with YouTube Subs Counter
There almost always is a little thing breaking up a bigger one - glad you finally found it! It happens to everyone occasionally to overlook a simple detail that makes things work.Rooky_89 wrote: ↑October 7th, 2024, 6:29 pm I'm sure you know more than I do . I've tried various things but I don't know what to do . I don't have a solution this scenario
;---------------------------------------------------------------------------------
So after 2 Hours reading, testing and now i got the stupid error! . One little thing that i forgot . Set >>> Dynamic Variables=1 <<< in the sektion [Background] . Now it works
Big Thanks for your Time and work Yincognito
-
- Posts: 70
- Joined: September 21st, 2024, 4:57 pm
- Location: Germany, in the stone cave
Re: Problem with YouTube Subs Counter
Hi there,
i have an question about my mouse leave funktion. We have in the Mouse over this funktion nice [!SetOption Message_YT1 Hidden ([Calc_YT1]>#YT1_Video#?0:1)].
Can i get same funktion for mouse leave but for the [Headline2] Section. If i leave the Skin with the mouse it should check if there an an still new uploaded video. If not, Hidde the String.
Example -> [!SetOption Headline2 Hidden ([Calc_YT1]>#YT1_Video#?0:1) && ([Calc_YT2]>#YT2_Video#?0:1) && ([Calc_YT3]>#YT3_Video#?0:1) && ([Calc_YT4]>#YT4_Video#?0:1) && ([Calc_YT5]>#YT5_Video#?0:1)
Best regards
i have an question about my mouse leave funktion. We have in the Mouse over this funktion nice [!SetOption Message_YT1 Hidden ([Calc_YT1]>#YT1_Video#?0:1)].
Can i get same funktion for mouse leave but for the [Headline2] Section. If i leave the Skin with the mouse it should check if there an an still new uploaded video. If not, Hidde the String.
Example -> [!SetOption Headline2 Hidden ([Calc_YT1]>#YT1_Video#?0:1) && ([Calc_YT2]>#YT2_Video#?0:1) && ([Calc_YT3]>#YT3_Video#?0:1) && ([Calc_YT4]>#YT4_Video#?0:1) && ([Calc_YT5]>#YT5_Video#?0:1)
Best regards
-
- Rainmeter Sage
- Posts: 8485
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Problem with YouTube Subs Counter
If I understood your example properly, there are 2 possibilities here:
- "join" the comparisons via && but before the ? sign, e.g. (([Calc_YT1]>#YT1_Video#)&&([Calc_YT2]>#YT2_Video#)?0:1)
- achieve the same via the way you "nest" conditionals, e.g. ([Calc_YT1]>#YT1_Video#?([Calc_YT2]>#YT2_Video#?0:1):1)
I only talked about 2 comparisons from the conditional for simplicity.
-
- Posts: 70
- Joined: September 21st, 2024, 4:57 pm
- Location: Germany, in the stone cave
Re: Problem with YouTube Subs Counter
That's well , it just works if all 5 Videos gets an upload, if you click on one Video, the string never shows up again.Yincognito wrote: ↑October 9th, 2024, 6:53 pm
That does not work; [GIF - IMAGE]
|
VCode: Select all
[!SetOption Headline2 Hidden ([Calc_YT1]>#YT1_Video#?([Calc_YT2]>#YT2_Video#?([Calc_YT3]>#YT3_Video#?([Calc_YT4]>#YT4_Video#?([Calc_YT5]>#YT5_Video#?0:1):1):1):1):1)]
;That works, but with an error; Formula: Unmatched brackets in key "Hidden" in [Headline2] and it shows allways up if there isnt a new Video available
|
VCode: Select all
[!SetOption Headline2 Hidden (([Calc_YT1]>#YT1_Video#)&&([Calc_YT2]>#YT2_Video#)&&([Calc_YT3]>#YT3_Video#)&&([Calc_YT4]>#YT4_Video#)&&([Calc_YT5]>#YT5_Video#)?0:1))]
Or is a counter a better solution? if the Variable greater than zero, show the String.. If lower hide?
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 8485
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Problem with YouTube Subs Counter
Well, I only worked based on your (pseudocode) example snippet, so these 2 choices are its equivalent. In other words, both show the text only if all 5 videos get an upload.
However, it looks like what you want is to show the text if any of the 5 gets an upload. If so, you could simply use || aka the logical OR instead of && aka the logical AND, to achieve what seems to be your goal:
Code: Select all
[!SetOption Headline2 Hidden (([Calc_YT1]>#YT1_Video#)||([Calc_YT2]>#YT2_Video#)||([Calc_YT3]>#YT3_Video#)||([Calc_YT4]>#YT4_Video#)||([Calc_YT5]>#YT5_Video#)?0:1))]
P.S. Not sure why you get the unmatched bracket error in the nested choice I proposed, but based on your last reply, the multi condition choice is more suited regardless, so the said error is more or less irrelevant by now since you won't use that approach.
-
- Posts: 70
- Joined: September 21st, 2024, 4:57 pm
- Location: Germany, in the stone cave
Re: Problem with YouTube Subs Counter
Yes you got itYincognito wrote: ↑October 10th, 2024, 2:50 pm
it looks like what you want is to show the text if any of the 5 gets an upload.
Now i try it with your Code example, but i got the same error as yesterday. I really don't know what to do because it doesn't really work. I'm sorry that, this takes up a lot of your time. Maybe you should test it. I uploaded my actual skin.
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 8485
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Problem with YouTube Subs Counter
I'll take a look at it as soon as I feed myself a bit...Rooky_89 wrote: ↑October 10th, 2024, 7:11 pm Yes you got it
Now i try it with your Code example, but i got the same error as yesterday. I really don't know what to do because it doesn't really work. I'm sorry that, this takes up a lot of your time. Maybe you should test it. I uploaded my actual skin.
Youtube-Subs_.rmskin