It is currently April 26th, 2024, 3:19 am
Get help with creating, editing & fixing problems with skins
Bananorpion
Posts: 40 Joined: April 16th, 2017, 8:35 pm
Post
by Bananorpion » July 24th, 2017, 7:12 pm
Yop.
I wonder how I could check whether the cover art exists or not, with the NowPlaying plugin, so I can hide/show the frame around. I tried
Code: Select all
[MeasureCover]
...
IfMatch=
IfMatchAction=[!SetOption CoverFrame Hidden 1]
IfNotMatchAction=[!SetOption CoverFrame Hidden 0]
or
(tried with 0 and 1 too), but it doesn't seem to work.
(I tried using the option MaskImageName, but the result is not what I expect.)
Last edited by Bananorpion on July 24th, 2017, 8:34 pm, edited 1 time in total.
balala
Rainmeter Sage
Posts: 16172 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » July 24th, 2017, 8:28 pm
Replace the empty IfMatch= option with IfMatch=^$ . In this expression ^ means the beginning of the string, while $ represents the end of it. Probably you've figured out that ^$ means empty string, because you have nothing between its beginning and end.
Bananorpion
Posts: 40 Joined: April 16th, 2017, 8:35 pm
Post
by Bananorpion » July 24th, 2017, 8:34 pm
Damn, I forgot regular expressions were a thing.
It works, thanks.
balala
Rainmeter Sage
Posts: 16172 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » July 24th, 2017, 8:54 pm
Glad to help.