It is currently July 7th, 2020, 3:14 am

[BUG or Mistake] Formula in String section variable?

Report bugs with the Rainmeter application and suggest features.
User avatar
jsmorley
Developer
Posts: 20995
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: [BUG or Mistake] Formula in String section variable?

Post by jsmorley »

Yincognito wrote:
June 19th, 2020, 10:54 pm
You're the man!! :great: :rosegift:
Didn't think of that - apparently it works for a long string with multiple measure and variable references:

Code: Select all

[!SetOption MT_Rainmeter_TooltipText Text """#LastArtist##CRLF#∆[\x200B] #LastAlbum#[\x200B]#CRLF#≡ #LastTitle##CRLF#● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●#CRLF#Player State    [MS_NowPlaying_State]   ●   Player Volume     [MS_NowPlaying_Volume][\x200B] %[\x200B]#CRLF#Track Length   #LastDuration#   ●   Track Progress    [MS_NowPlaying_Progress][\x200B] %[\x200B]#CRLF#Elapsed Time   [MS_NowPlaying_Position]   ●   Time Left      [MS_Rainmeter_TimeLeft]""" "#ROOTCONFIG#\Tooltip"]
By the way, would this work for the round bracket issue, maybe? :???:
I imagine so...
User avatar
Yincognito
Posts: 1866
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: [BUG or Mistake] Formula in String section variable?

Post by Yincognito »

jsmorley wrote:
June 19th, 2020, 10:55 pm
I imagine so...
That would be fantastic, even though I already got rid of the round brackets I used to set manually on no-value fields. :D But, as you said, I have no control over what the actual field looks like, and I have all kinds of funky characters in some file names / MP3 tags, and if a NowPlaying Title is something like (Like A Prayer) instead of Like A Prayer (just an example) I could be in trouble, LOL.