It is currently March 9th, 2021, 10:51 am

[Suggestion] Docs: FileView & Nested Variables

Report bugs with the Rainmeter application and suggest features.
oZone
Posts: 140
Joined: May 14th, 2018, 4:46 pm

[Suggestion] Docs: FileView & Nested Variables

Post by oZone »

FileView plugin option Path does not support nested variables. It should be mentioned in documentation.

https://docs.rainmeter.net/manual-beta/plugins/fileview/#Path
User avatar
balala
Rainmeter Sage
Posts: 12354
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: [Suggestion] Docs: FileView & Nested Variables

Post by balala »

oZone wrote: January 24th, 2021, 8:45 am FileView plugin option Path does not support nested variables. It should be mentioned in documentation.
Are you sure? Could you give us an example, please?
oZone
Posts: 140
Joined: May 14th, 2018, 4:46 pm

Re: [Suggestion] Docs: FileView & Nested Variables

Post by oZone »

balala wrote: January 24th, 2021, 4:49 pm Are you sure? Could you give us an example, please?

Code: Select all

[Rainmeter]
BackgroundMode=1
DynamicWindowSize=1
AccurateText=1
Update=-1

[mPath]
Measure=Plugin
Plugin=FileView
Path=[#CURRENTPATH]

[Text]
Meter=String
MeasureName=mPath
X=10
Y=5
Padding=10,4,10,4
SolidColor=40,40,40,220
AntiAlias=1
FontColor=237,237,237,150
from log

Code: Select all

Invalid Path: "#CURRENTPATH" (Test\test.ini - [mPath])
User avatar
balala
Rainmeter Sage
Posts: 12354
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: [Suggestion] Docs: FileView & Nested Variables

Post by balala »

oZone wrote: January 24th, 2021, 6:41 pm

Code: Select all

[Rainmeter]
BackgroundMode=1
DynamicWindowSize=1
AccurateText=1
Update=-1

[mPath]
Measure=Plugin
Plugin=FileView
Path=[#CURRENTPATH]

[Text]
Meter=String
MeasureName=mPath
X=10
Y=5
Padding=10,4,10,4
SolidColor=40,40,40,220
AntiAlias=1
FontColor=237,237,237,150
from log

Code: Select all

Invalid Path: "#CURRENTPATH" (Test\test.ini - [mPath])
It seems you perfectly are right. Hope one of the admins will add the mention to the documentation.
User avatar
Brian
Developer
Posts: 2089
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: [Suggestion] Docs: FileView & Nested Variables

Post by Brian »

I added a note to the docs. Thanks for reporting.

-Brian