It is currently February 25th, 2020, 9:39 am

Fileview - Setting the topmost folder

Help with creating, editing & fixing problems with skins
User avatar
hyprdmg
Posts: 46
Joined: May 23rd, 2010, 5:05 pm

Fileview - Setting the topmost folder

Post by hyprdmg »

Hello,

I am trying to use fileview as a basic text launcher that has 3 subfolders (apps, games, documents). I have ShowDotDot=1 set so I can go back to the top level as needed. I am wondering if you can set the DotDot to a specific file, so when it is clicked, it doesn't keep going up folder levels (past the initial path).
Last edited by hyprdmg on January 13th, 2020, 4:45 pm, edited 1 time in total.
User avatar
balala
Rainmeter Sage
Posts: 9758
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Fileview - Setting the topmost folder

Post by balala »

hyprdmg wrote:
January 10th, 2020, 9:08 pm
I am wondering if you can set the DotDot to a specific file, so when it is clicked, it doesn't keep going up folder levels (past the initial path).
Yes, you (we?) can, using the IfMatch options. For instance starting from the example code posted on the Help page of the FileView plugin, you can add these options to the [mPath] measure (the parent measure of the FileView plugin measures) in order to block the further double clicks, when the required folder is reached. I thought to something like this:

Code: Select all

[mPath]
Measure=Plugin
Plugin=FileView
Path="C:"
Count=8
IfMatch=(?i)^c:\\$
IfMatchAction=[!DisableMouseAction Index1 "LeftMouseDoubleClickAction"]
IfNotMatchAction=[!EnableMouseAction Index1 "LeftMouseDoubleClickAction"]
Note the newly added IfMatch / IfMatchAction / IfNotMatchAction options. See that when the value of the measure reaches C:\ or c:\, the mouse action of the [Index1] meter is disabled, in any other case it is enabled. This way when you reach the root of C: further double clicks are not possible, to avoid going up furtherly. See the IfMatch option (IfMatch=(?i)^c:\\$). The (?i) is required to avoid the option not to work if the path is other case (upper- or lower-) than what the measure returns (although not too possible, but who knows?). The backslash on the other hand had to be doubled, because it is a reserved character in regular expressions and has to be avoided.
If you can't get this to work with your code, please post the code you have so far (additionally this would have been a good idea from the beginning).
User avatar
hyprdmg
Posts: 46
Joined: May 23rd, 2010, 5:05 pm

Re: Fileview - Setting the topmost folder

Post by hyprdmg »

Hi again balala,

I understand the gist of how this should be handled, but I feel like I am applying it wrong on my end.

Please see the code used:

Code: Select all

[Rainmeter]
Update=50
SolidColor=0,0,0,1
BackgroundMode=2
MouseScrollDownAction=[!CommandMeasure "Measure Folder" IndexDown][!Update]
MouseScrollUpAction=[!CommandMeasure "Measure Folder" IndexUp][!Update]
DynamicWindowSize=1

[Variables]
TextColor=0,255,0
MouseOverColour=255,255,255
TextSize=12
Font=ModeSeven
AntiAlias=1
ScreenWidth=#SCREENAREAWIDTH@2#
ScreenHeight=#SCREENAREAHEIGHT@2#
TopMargin=10
LeftMargin=15
Spacing=15
NumOfApps=(#ScreenHeight#/(#TextSize#+#Spacing#))

[StringStyle]
X=#LeftMargin#
Y=(#Spacing#+#TextSize#)r
Text=%1
FontColor=#TextColor#
FontSize=12
FontFace=ModeSeven
AntiAlias=1
DynamicVariables=1


[Measure Folder]
Measure=Plugin
Plugin=FileView
Path="#@#\Shortcuts"
Count=#NumOfApps#
ShowDotDot=1
HideExtensions=1
IfMatch=(?i)^#@#\\Shortcuts\\$
IfMatchAction=[!DisableMouseAction Link1 "LeftMouseUpAction"]
IfNotMatchAction=[!EnableMouseAction Link1 "LeftMouseUpAction"]


[Measures]


[mLink1]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=1
IgnoreCount=1

[mLink2]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=2
[mName2]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=2

[mLink3]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=3
[mName3]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=3

[mLink4]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=4
[mName4]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=4

[mLink5]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=5
[mName5]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=5

[mLink6]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=6
[mName6]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=6

[mLink7]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=7
[mName7]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=7

[mLink8]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=8
[mName8]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=8

[mLink9]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=9
[mName9]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=9

[mLink10]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=10
[mName10]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=10

[mLink11]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=11
[mName11]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=11

[mLink12]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=12
[mName12]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=12

[mLink13]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=13
[mName13]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=13

[mLink14]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=14
[mName14]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=14

[mLink15]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=15
[mName15]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=15

[mLink16]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=16
[mName16]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=16

[mLink17]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=17
[mName17]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=17

[mLink18]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=18
[mName18]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=18

[mLink19]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=19
[mName19]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=19

[mLink20]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=20
[mName20]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=20

[mLink21]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=21
[mName21]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=21

[mLink22]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=22
[mName22]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=22

[mLink23]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=23
[mName23]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=23

[mLink24]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=24
[mName24]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=24

[mLink25]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=25
[mName25]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=25

[mLink26]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=26
[mName26]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=26

[mLink27]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=27
[mName27]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=27

[mLink28]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=28
[mName28]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=28

[mLink29]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=29
[mName29]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=29

[mLink30]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=30
[mName30]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=30

[mLink31]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=31
[mName31]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=31

[mLink32]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=32
[mName32]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=32

[mLink33]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=33
[mName33]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=33

[mLink34]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=34
[mName34]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=34

[mLink35]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=35
[mName35]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=35

[mLink36]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=36
[mName36]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=36


[mLink37]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=37
[mName37]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=37

[mLink38]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=38
[mName38]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=38

[mLink39]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=39
[mName39]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=39

[mLink40]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FilePath
Index=40
[mName40]
Measure=Plugin
Plugin=FileView
Path=[Measure Folder]
Type=FileName
Index=40

[Links]


[Link1]
Meter=String
MeasureName=mName1
MeterStyle=StringStyle
Y=#TopMargin#
Text=>../Home
LeftMouseUpAction=[!CommandMeasure mLink1 FollowPath][!Update]
MouseOverAction=[!SetOption Link1 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link1 FontColor #TextColor#][!Update]

[Link2]
Meter=String
MeasureName=mName2
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink2 FollowPath][!Update]
MouseOverAction=[!SetOption Link2 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link2 FontColor #TextColor#][!Update]

[Link3]
Meter=String
MeasureName=mName3
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink3 FollowPath][!Update]
MouseOverAction=[!SetOption Link3 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link3 FontColor #TextColor#][!Update]

[Link4]
Meter=String
MeasureName=mName4
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink4 FollowPath][!Update]
MouseOverAction=[!SetOption Link4 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link4 FontColor #TextColor#][!Update]

[Link5]
Meter=String
MeasureName=mName5
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink5 FollowPath][!Update]
MouseOverAction=[!SetOption Link5 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link5 FontColor #TextColor#][!Update]

[Link6]
Meter=String
MeasureName=mName6
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink6 FollowPath][!Update]
MouseOverAction=[!SetOption Link6 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link6 FontColor #TextColor#][!Update]

[Link7]
Meter=String
MeasureName=mName7
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink7 FollowPath][!Update]
MouseOverAction=[!SetOption Link7 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link7 FontColor #TextColor#][!Update]

[Link8]
Meter=String
MeasureName=mName8
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink8 FollowPath][!Update]
MouseOverAction=[!SetOption Link8 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link8 FontColor #TextColor#][!Update]

[Link9]
Meter=String
MeasureName=mName9
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink9 FollowPath][!Update]
MouseOverAction=[!SetOption Link9 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link9 FontColor #TextColor#][!Update]

[Link10]
Meter=String
MeasureName=mName10
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink10 FollowPath][!Update]
MouseOverAction=[!SetOption Link10 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link10 FontColor #TextColor#][!Update]

[Link11]
Meter=String
MeasureName=mName11
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink11 FollowPath][!Update]
MouseOverAction=[!SetOption Link11 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link11 FontColor #TextColor#][!Update]

[Link12]
Meter=String
MeasureName=mName12
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink12 FollowPath][!Update]
MouseOverAction=[!SetOption Link12 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link12 FontColor #TextColor#][!Update]

[Link13]
Meter=String
MeasureName=mName13
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink13 FollowPath][!Update]
MouseOverAction=[!SetOption Link13 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link13 FontColor #TextColor#][!Update]

[Link14]
Meter=String
MeasureName=mName14
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink14 FollowPath][!Update]
MouseOverAction=[!SetOption Link14 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link14 FontColor #TextColor#][!Update]

[Link15]
Meter=String
MeasureName=mName15
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink15 FollowPath][!Update]
MouseOverAction=[!SetOption Link15 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link15 FontColor #TextColor#][!Update]

[Link16]
Meter=String
MeasureName=mName16
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink16 FollowPath][!Update]
MouseOverAction=[!SetOption Link16 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link16 FontColor #TextColor#][!Update]

[Link17]
Meter=String
MeasureName=mName17
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink17 FollowPath][!Update]
MouseOverAction=[!SetOption Link17 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link17 FontColor #TextColor#][!Update]

[Link18]
Meter=String
MeasureName=mName18
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink18 FollowPath][!Update]
MouseOverAction=[!SetOption Link18 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link18 FontColor #TextColor#][!Update]

[Link19]
Meter=String
MeasureName=mName19
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink19 FollowPath][!Update]
MouseOverAction=[!SetOption Link19 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link19 FontColor #TextColor#][!Update]

[Link20]
Meter=String
MeasureName=mName20
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink20 FollowPath][!Update]
MouseOverAction=[!SetOption Link20 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link20 FontColor #TextColor#][!Update]

[Link21]
Meter=String
MeasureName=mName21
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink21 FollowPath][!Update]
MouseOverAction=[!SetOption Link21 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link21 FontColor #TextColor#][!Update]

[Link22]
Meter=String
MeasureName=mName22
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink22 FollowPath][!Update]
MouseOverAction=[!SetOption Link22 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link22 FontColor #TextColor#][!Update]

[Link23]
Meter=String
MeasureName=mName23
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink23 FollowPath][!Update]
MouseOverAction=[!SetOption Link23 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link23 FontColor #TextColor#][!Update]

[Link24]
Meter=String
MeasureName=mName24
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink24 FollowPath][!Update]
MouseOverAction=[!SetOption Link24 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link24 FontColor #TextColor#][!Update]

[Link25]
Meter=String
MeasureName=mName25
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink25 FollowPath][!Update]
MouseOverAction=[!SetOption Link25 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link25 FontColor #TextColor#][!Update]

[Link26]
Meter=String
MeasureName=mName26
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink26 FollowPath][!Update]
MouseOverAction=[!SetOption Link26 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link26 FontColor #TextColor#][!Update]

[Link27]
Meter=String
MeasureName=mName27
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink27 FollowPath][!Update]
MouseOverAction=[!SetOption Link27 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link27 FontColor #TextColor#][!Update]

[Link28]
Meter=String
MeasureName=mName28
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink28 FollowPath][!Update]
MouseOverAction=[!SetOption Link28 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link28 FontColor #TextColor#][!Update]

[Link29]
Meter=String
MeasureName=mName29
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink29 FollowPath][!Update]
MouseOverAction=[!SetOption Link29 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link29 FontColor #TextColor#][!Update]

[Link30]
Meter=String
MeasureName=mName30
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink30 FollowPath][!Update]
MouseOverAction=[!SetOption Link30 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link30 FontColor #TextColor#][!Update]

[Link31]
Meter=String
MeasureName=mName31
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink31 FollowPath][!Update]
MouseOverAction=[!SetOption Link31 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link31 FontColor #TextColor#][!Update]

[Link32]
Meter=String
MeasureName=mName32
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink32 FollowPath][!Update]
MouseOverAction=[!SetOption Link32 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link32 FontColor #TextColor#][!Update]

[Link33]
Meter=String
MeasureName=mName33
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink33 FollowPath][!Update]
MouseOverAction=[!SetOption Link33 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link33 FontColor #TextColor#][!Update]

[Link34]
Meter=String
MeasureName=mName34
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink34 FollowPath][!Update]
MouseOverAction=[!SetOption Link34 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link34 FontColor #TextColor#][!Update]

[Link35]
Meter=String
MeasureName=mName35
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink35 FollowPath][!Update]
MouseOverAction=[!SetOption Link35 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link35 FontColor #TextColor#][!Update]

[Link36]
Meter=String
MeasureName=mName36
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink36 FollowPath][!Update]
MouseOverAction=[!SetOption Link36 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link36 FontColor #TextColor#][!Update]

[Link37]
Meter=String
MeasureName=mName37
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink37 FollowPath][!Update]
MouseOverAction=[!SetOption Link37 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link37 FontColor #TextColor#][!SetOption View ImageName ""][!Update]

[Link38]
Meter=String
MeasureName=mName38
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink38 FollowPath][!Update]
MouseOverAction=[!SetOption Link38 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link38 FontColor #TextColor#][!Update]

[Link39]
Meter=String
MeasureName=mName39
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink39 FollowPath][!Update]
MouseOverAction=[!SetOption Link39 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link39 FontColor #TextColor#][!Update]

[Link40]
Meter=String
MeasureName=mName40
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink40 FollowPath][!Update]
MouseOverAction=[!SetOption Link40 FontColor #MouseOverColour#][!Update]
MouseLeaveAction=[!SetOption Link40 FontColor #TextColor#][!Update]
I am not sure if I am using the IfMatch correct when it comes to the path I'm using as it's using the @Resources folder within the skin folder itself.
User avatar
hyprdmg
Posts: 46
Joined: May 23rd, 2010, 5:05 pm

Re: Fileview - Setting the topmost folder

Post by hyprdmg »

So it looks like I was able to fix it with the following changes:

Original:

Code: Select all

[Measure Folder]
Measure=Plugin
Plugin=FileView
Path="#@#\Shortcuts"
Count=#NumOfApps#
ShowDotDot=1
HideExtensions=1
IfMatch=(?i)^#@#\\Shortcuts\\$
IfMatchAction=[!DisableMouseAction Link1 "LeftMouseUpAction"]
IfNotMatchAction=[!EnableMouseAction Link1 "LeftMouseUpAction"]
New:

Code: Select all

[Measure Folder]
Measure=Plugin
Plugin=FileView
Path=#@#Shortcuts
Count=#NumOfApps#
ShowDotDot=1
HideExtensions=1
IfMatch=Shortcuts\\$
IfMatchAction=[!DisableMouseAction Link1 "LeftMouseUpAction"]
IfNotMatchAction=[!EnableMouseAction Link1 "LeftMouseUpAction"]
User avatar
jsmorley
Developer
Posts: 20280
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Fileview - Setting the topmost folder

Post by jsmorley »

hyprdmg wrote:
January 13th, 2020, 4:41 pm
So it looks like I was able to fix it with the following changes:

Original:

Code: Select all

[Measure Folder]
Measure=Plugin
Plugin=FileView
Path="#@#\Shortcuts"
Count=#NumOfApps#
ShowDotDot=1
HideExtensions=1
IfMatch=(?i)^#@#\\Shortcuts\\$
IfMatchAction=[!DisableMouseAction Link1 "LeftMouseUpAction"]
IfNotMatchAction=[!EnableMouseAction Link1 "LeftMouseUpAction"]
New:

Code: Select all

[Measure Folder]
Measure=Plugin
Plugin=FileView
Path=#@#Shortcuts
Count=#NumOfApps#
ShowDotDot=1
HideExtensions=1
IfMatch=Shortcuts\\$
IfMatchAction=[!DisableMouseAction Link1 "LeftMouseUpAction"]
IfNotMatchAction=[!EnableMouseAction Link1 "LeftMouseUpAction"]
The problem is that the variable #@# will contain at least one \ folder separator, which is a reserved character in regular expression and will cause it to fail.
User avatar
jsmorley
Developer
Posts: 20280
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Fileview - Setting the topmost folder

Post by jsmorley »

You can work around this with something like:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]

[MeasureString]
Measure=String
String=#@#
IfMatch=(?i)^[MeasureString:EscapeRegExp]$
IfMatchAction=[!Log "yes"]
DynamicVariables=1

[MeterDummy]
Meter=Image
User avatar
balala
Rainmeter Sage
Posts: 9758
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Fileview - Setting the topmost folder

Post by balala »

hyprdmg wrote:
January 13th, 2020, 4:41 pm
So it looks like I was able to fix it with the following changes:
Based on jsmorley's above reply, here is the needed changes in order to get the unmodified IfMatch to work. Note that a new String measure has to be added. So replace the existing [Measure Folder] measure with the following ones:

Code: Select all

[Measure Folder]
Measure=Plugin
Plugin=FileView
Path="#@#\Shortcuts"
Count=#NumOfApps#
ShowDotDot=1
HideExtensions=1

[MeasureFolderIf]
Measure=String
String=[Measure Folder]
IfMatch=(?i)^[Measure Folder:EscapeRegExp]$
IfMatchAction=[!DisableMouseAction Link1 "LeftMouseUpAction"]
IfNotMatchAction=[!EnableMouseAction Link1 "LeftMouseUpAction"]
DynamicVariables=1
Note a few other things which have to be said, related to the original code:
  • Although spaces are not forbidden into sections name, nor a good idea is to use them. In fact I recommend to get used not to use them. Never! That's why I'd replace the [Measure Folder] name with [MeasureFolder]. If you do this, take care to replace everywhere in your code Measure Folder with MeasureFolder. Believe me, it worth.
  • Why are you using such a low Update? Update=50 is too small, doesn't worth to use it. The default Update=1000 would be enough in my opinion.
  • Don't use useless lines (at least from the point of view of the code) without commenting them out. For instance the [Measures] line below the [Measure Folder] (or [MeasureFolder], if you took me first advice above), should be commented out, adding a semicolon (;[Measures]).
  • Don't update the whole skin whenever are you hovering the mouse over a meter or leaving it. Again, doesn't worth. Updating just the appropriate meter is completely enough, but in this case, beside the update, a redraw should also be done. Additionally updating the skin when you click, is again useless in this case. So, I'd remove all [!Update] bangs from all LeftMouseUpAction options of all meters from [Link1] to [Link40] and would replace the same [!Update] on MouseOverAction and MouseLeaveAction options of the same measures with [!UpdateMeter "#CURRENTSECTION#"][!Redraw]. If you do this, the first meter should look like:

    Code: Select all

    [Link1]
    Meter=String
    MeasureName=mName1
    MeterStyle=StringStyle
    Y=#TopMargin#
    Text=>../Home
    LeftMouseUpAction=[!CommandMeasure mLink1 FollowPath]
    MouseOverAction=[!SetOption Link1 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
    MouseLeaveAction=[!SetOption Link1 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
In my opinion the most important from the above list is to avoid using spaces into section names, although as I said, it works even if you do use them. But on long term it can cause a lot of headaches. Worth avoiding.

Code: Select all

[Rainmeter]
Update=1000
SolidColor=0,0,0,1
BackgroundMode=2
MouseScrollDownAction=[!CommandMeasure "MeasureFolder" IndexDown]
MouseScrollUpAction=[!CommandMeasure "MeasureFolder" IndexUp]
DynamicWindowSize=1

[Variables]
TextColor=0,255,0
MouseOverColour=255,255,255
TextSize=12
Font=ModeSeven
AntiAlias=1
ScreenWidth=#SCREENAREAWIDTH@2#
ScreenHeight=#SCREENAREAHEIGHT@2#
TopMargin=10
LeftMargin=15
Spacing=15
NumOfApps=(#ScreenHeight#/(#TextSize#+#Spacing#))

[StringStyle]
X=#LeftMargin#
Y=(#Spacing#+#TextSize#)r
Text=%1
FontColor=#TextColor#
FontSize=12
FontFace=ModeSeven
AntiAlias=1
DynamicVariables=1

[MeasureFolder]
Measure=Plugin
Plugin=FileView
Path="#@#\Shortcuts"
Count=#NumOfApps#
ShowDotDot=1
HideExtensions=1

[MeasureFolderIf]
Measure=String
String=[MeasureFolder]
IfMatch=(?i)^[MeasureFolder:EscapeRegExp]$
IfMatchAction=[!DisableMouseAction Link1 "LeftMouseUpAction"][!SetVariable SCut "1"]
IfNotMatchAction=[!EnableMouseAction Link1 "LeftMouseUpAction"][!SetVariable SCut "0"]
DynamicVariables=1

;[Measures]

[mLink1]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=1
IgnoreCount=1

[mLink2]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=2
[mName2]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=2

[mLink3]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=3
[mName3]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=3

[mLink4]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=4
[mName4]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=4

[mLink5]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=5
[mName5]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=5

[mLink6]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=6
[mName6]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=6

[mLink7]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=7
[mName7]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=7

[mLink8]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=8
[mName8]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=8

[mLink9]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=9
[mName9]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=9

[mLink10]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=10
[mName10]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=10

[mLink11]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=11
[mName11]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=11

[mLink12]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=12
[mName12]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=12

[mLink13]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=13
[mName13]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=13

[mLink14]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=14
[mName14]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=14

[mLink15]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=15
[mName15]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=15

[mLink16]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=16
[mName16]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=16

[mLink17]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=17
[mName17]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=17

[mLink18]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=18
[mName18]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=18

[mLink19]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=19
[mName19]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=19

[mLink20]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=20
[mName20]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=20

[mLink21]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=21
[mName21]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=21

[mLink22]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=22
[mName22]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=22

[mLink23]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=23
[mName23]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=23

[mLink24]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=24
[mName24]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=24

[mLink25]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=25
[mName25]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=25

[mLink26]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=26
[mName26]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=26

[mLink27]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=27
[mName27]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=27

[mLink28]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=28
[mName28]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=28

[mLink29]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=29
[mName29]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=29

[mLink30]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=30
[mName30]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=30

[mLink31]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=31
[mName31]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=31

[mLink32]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=32
[mName32]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=32

[mLink33]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=33
[mName33]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=33

[mLink34]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=34
[mName34]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=34

[mLink35]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=35
[mName35]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=35

[mLink36]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=36
[mName36]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=36


[mLink37]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=37
[mName37]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=37

[mLink38]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=38
[mName38]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=38

[mLink39]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=39
[mName39]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=39

[mLink40]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=40
[mName40]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=40

;[Links]


[Link1]
Meter=String
MeasureName=mName1
MeterStyle=StringStyle
Y=#TopMargin#
Text=>../Home
LeftMouseUpAction=[!CommandMeasure mLink1 FollowPath]
MouseOverAction=[!SetOption Link1 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link1 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link2]
Meter=String
MeasureName=mName2
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink2 FollowPath]
MouseOverAction=[!SetOption Link2 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link2 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link3]
Meter=String
MeasureName=mName3
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink3 FollowPath]
MouseOverAction=[!SetOption Link3 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link3 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link4]
Meter=String
MeasureName=mName4
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink4 FollowPath]
MouseOverAction=[!SetOption Link4 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link4 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link5]
Meter=String
MeasureName=mName5
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink5 FollowPath]
MouseOverAction=[!SetOption Link5 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link5 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link6]
Meter=String
MeasureName=mName6
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink6 FollowPath]
MouseOverAction=[!SetOption Link6 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link6 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link7]
Meter=String
MeasureName=mName7
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink7 FollowPath]
MouseOverAction=[!SetOption Link7 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link7 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link8]
Meter=String
MeasureName=mName8
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink8 FollowPath]
MouseOverAction=[!SetOption Link8 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link8 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link9]
Meter=String
MeasureName=mName9
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink9 FollowPath]
MouseOverAction=[!SetOption Link9 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link9 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link10]
Meter=String
MeasureName=mName10
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink10 FollowPath]
MouseOverAction=[!SetOption Link10 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link10 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link11]
Meter=String
MeasureName=mName11
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink11 FollowPath]
MouseOverAction=[!SetOption Link11 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link11 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link12]
Meter=String
MeasureName=mName12
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink12 FollowPath]
MouseOverAction=[!SetOption Link12 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link12 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link13]
Meter=String
MeasureName=mName13
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink13 FollowPath]
MouseOverAction=[!SetOption Link13 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link13 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link14]
Meter=String
MeasureName=mName14
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink14 FollowPath]
MouseOverAction=[!SetOption Link14 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link14 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link15]
Meter=String
MeasureName=mName15
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink15 FollowPath]
MouseOverAction=[!SetOption Link15 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link15 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link16]
Meter=String
MeasureName=mName16
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink16 FollowPath]
MouseOverAction=[!SetOption Link16 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link16 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link17]
Meter=String
MeasureName=mName17
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink17 FollowPath]
MouseOverAction=[!SetOption Link17 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link17 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link18]
Meter=String
MeasureName=mName18
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink18 FollowPath]
MouseOverAction=[!SetOption Link18 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link18 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link19]
Meter=String
MeasureName=mName19
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink19 FollowPath]
MouseOverAction=[!SetOption Link19 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link19 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link20]
Meter=String
MeasureName=mName20
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink20 FollowPath]
MouseOverAction=[!SetOption Link20 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link20 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link21]
Meter=String
MeasureName=mName21
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink21 FollowPath]
MouseOverAction=[!SetOption Link21 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link21 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link22]
Meter=String
MeasureName=mName22
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink22 FollowPath]
MouseOverAction=[!SetOption Link22 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link22 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link23]
Meter=String
MeasureName=mName23
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink23 FollowPath]
MouseOverAction=[!SetOption Link23 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link23 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link24]
Meter=String
MeasureName=mName24
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink24 FollowPath]
MouseOverAction=[!SetOption Link24 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link24 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link25]
Meter=String
MeasureName=mName25
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink25 FollowPath]
MouseOverAction=[!SetOption Link25 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link25 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link26]
Meter=String
MeasureName=mName26
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink26 FollowPath]
MouseOverAction=[!SetOption Link26 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link26 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link27]
Meter=String
MeasureName=mName27
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink27 FollowPath]
MouseOverAction=[!SetOption Link27 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link27 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link28]
Meter=String
MeasureName=mName28
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink28 FollowPath]
MouseOverAction=[!SetOption Link28 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link28 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link29]
Meter=String
MeasureName=mName29
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink29 FollowPath]
MouseOverAction=[!SetOption Link29 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link29 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link30]
Meter=String
MeasureName=mName30
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink30 FollowPath]
MouseOverAction=[!SetOption Link30 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link30 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link31]
Meter=String
MeasureName=mName31
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink31 FollowPath]
MouseOverAction=[!SetOption Link31 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link31 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link32]
Meter=String
MeasureName=mName32
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink32 FollowPath]
MouseOverAction=[!SetOption Link32 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link32 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link33]
Meter=String
MeasureName=mName33
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink33 FollowPath]
MouseOverAction=[!SetOption Link33 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link33 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link34]
Meter=String
MeasureName=mName34
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink34 FollowPath]
MouseOverAction=[!SetOption Link34 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link34 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link35]
Meter=String
MeasureName=mName35
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink35 FollowPath]
MouseOverAction=[!SetOption Link35 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link35 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link36]
Meter=String
MeasureName=mName36
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink36 FollowPath]
MouseOverAction=[!SetOption Link36 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link36 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link37]
Meter=String
MeasureName=mName37
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink37 FollowPath]
MouseOverAction=[!SetOption Link37 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link37 FontColor #TextColor#][!SetOption View ImageName ""][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link38]
Meter=String
MeasureName=mName38
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink38 FollowPath]
MouseOverAction=[!SetOption Link38 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link38 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link39]
Meter=String
MeasureName=mName39
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink39 FollowPath]
MouseOverAction=[!SetOption Link39 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link39 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[Link40]
Meter=String
MeasureName=mName40
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink40 FollowPath]
MouseOverAction=[!SetOption Link40 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link40 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
Also note that there is an extra !SetOption bang in the MosueLeaveAction option of the [Link37] meter. Make sure it is needed, because such a bang doesn't exist in no other such option.
User avatar
hyprdmg
Posts: 46
Joined: May 23rd, 2010, 5:05 pm

Re: Fileview - Setting the topmost folder

Post by hyprdmg »

balala wrote:
January 13th, 2020, 5:41 pm
  • Although spaces are not forbidden into sections name, nor a good idea is to use them. In fact I recommend to get used not to use them. Never! That's why I'd replace the [Measure Folder] name with [MeasureFolder]. If you do this, take care to replace everywhere in your code Measure Folder with MeasureFolder. Believe me, it worth.
I don't use spaces when I name my sections, but this is from the original code for the skin. I will be cleaning this up as I go along.

balala wrote:
January 13th, 2020, 5:41 pm
[*]Why are you using such a low Update? Update=50 is too small, doesn't worth to use it. The default Update=1000 would be enough in my opinion.
Currently using 1000 (I have tried 100 even) seems to delay the text when clicked. This may be due to my hardware acceleration being turned off currently (previous skin killed my laptop with acceleration on). I will try to see if I can turn hardware acceleration on now to see if it will work with 1000.
balala wrote:
January 13th, 2020, 5:41 pm
[*]Don't use useless lines (at least from the point of view of the code) without commenting them out. For instance the [Measures] line below the [Measure Folder] (or [MeasureFolder], if you took me first advice above), should be commented out, adding a semicolon (;[Measures]).
This was a marker for me in Notepad++ as hiding all the measures helped me move through the code faster, but when it was just commented out such as ;---Measures--- it would be hidden as it was part of the previous section technically. This will be fixed later.
balala wrote:
January 13th, 2020, 5:41 pm
[*]Don't update the whole skin whenever are you hovering the mouse over a meter or leaving it. Again, doesn't worth. Updating just the appropriate meter is completely enough, but in this case, beside the update, a redraw should also be done. Additionally updating the skin when you click, is again useless in this case. So, I'd remove all [!Update] bangs from all LeftMouseUpAction options of all meters from [Link1] to [Link40] and would replace the same [!Update] on MouseOverAction and MouseLeaveAction options of the same measures with [!UpdateMeter "#CURRENTSECTION#"][!Redraw]. If you do this, the first meter should look like:

Code: Select all

[Link1]
Meter=String
MeasureName=mName1
MeterStyle=StringStyle
Y=#TopMargin#
Text=>../Home
LeftMouseUpAction=[!CommandMeasure mLink1 FollowPath]
MouseOverAction=[!SetOption Link1 FontColor #MouseOverColour#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseLeaveAction=[!SetOption Link1 FontColor #TextColor#][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
[/list]
The original skin was hidden away by default and had images tied to it that I think required the update. As I'm just using basic text, I'm sure I can remove the updates. I will look into this.
balala wrote:
January 13th, 2020, 5:41 pm
Also note that there is an extra !SetOption bang in the MosueLeaveAction option of the [Link37] meter. Make sure it is needed, because such a bang doesn't exist in no other such option.
Ahh yes, this was leftover from the original code. Thanks for catching that!
User avatar
balala
Rainmeter Sage
Posts: 9758
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Fileview - Setting the topmost folder

Post by balala »

hyprdmg wrote:
January 13th, 2020, 5:59 pm
Currently using 1000 (I have tried 100 even) seems to delay the text when clicked. This may be due to my hardware acceleration being turned off currently (previous skin killed my laptop with acceleration on). I will try to see if I can turn hardware acceleration on now to see if it will work with 1000.
With the posted code? Weird, I don't see anything which would justify this, but who knows? However updating the appropriate measures and / or meters and redrawing the skin in most cases might help. Usually it does, that's why I suggested not to update the whole skin whenever are you hovering the mouse over the meters or leaving them, but update only the meter in cause.
The hardware acceleration issue seems a very common problem, I'm facing it as well, so finally I renounced to it.
hyprdmg wrote:
January 13th, 2020, 5:59 pm
Ahh yes, this was leftover from the original code. Thanks for catching that!
It happens sometimes.
User avatar
hyprdmg
Posts: 46
Joined: May 23rd, 2010, 5:05 pm

Re: Fileview - Setting the topmost folder

Post by hyprdmg »

So it looks like even with the code provided and trying with both hardware acceleration on/off, I seem to have issues with setting the update to 1000.

1000 Example: https://gfycat.com/angryrarealbertosaurus

50 Example: https://gfycat.com/wellmadeicygull

Also, I ended up taking out all [!Update] sections, and it seems to be running fine.

Code: Select all

[Rainmeter]
Update=50
SolidColor=0,0,0,1
BackgroundMode=2
MouseScrollDownAction=[!CommandMeasure MeasureFolder IndexDown]
MouseScrollUpAction=[!CommandMeasure MeasureFolder IndexUp]
DynamicWindowSize=1

[Variables]
TextColor=0,255,0
MouseOverColour=255,255,255
TextSize=12
Font=ModeSeven
AntiAlias=1
ScreenWidth=#SCREENAREAWIDTH@2#
ScreenHeight=#SCREENAREAHEIGHT@2#
TopMargin=10
LeftMargin=15
Spacing=15
NumOfApps=(#ScreenHeight#/(#TextSize#+#Spacing#))

[StringStyle]
X=#LeftMargin#
Y=(#Spacing#+#TextSize#)r
Text=%1
FontColor=#TextColor#
FontSize=12
FontFace=ModeSeven
AntiAlias=1
DynamicVariables=1

[MeasureFolder]
Measure=Plugin
Plugin=FileView
Path=#@#Shortcuts
Count=#NumOfApps#
ShowDotDot=1
HideExtensions=1
IfMatch=Shortcuts\\$
IfMatchAction=[!DisableMouseAction Link1 "LeftMouseUpAction"]
IfNotMatchAction=[!EnableMouseAction Link1 "LeftMouseUpAction"]

;---Measures---

[mLink1]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=1

[mLink2]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=2
[mName2]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=2

[mLink3]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=3
[mName3]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=3

[mLink4]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=4
[mName4]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=4

[mLink5]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=5
[mName5]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=5

[mLink6]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=6
[mName6]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=6

[mLink7]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=7
[mName7]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=7

[mLink8]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=8
[mName8]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=8

[mLink9]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=9
[mName9]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=9

[mLink10]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=10
[mName10]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=10

[mLink11]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=11
[mName11]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=11

[mLink12]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=12
[mName12]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=12

[mLink13]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=13
[mName13]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=13

[mLink14]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=14
[mName14]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=14

[mLink15]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=15
[mName15]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=15

[mLink16]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=16
[mName16]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=16

[mLink17]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=17
[mName17]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=17

[mLink18]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=18
[mName18]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=18

[mLink19]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=19
[mName19]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=19

[mLink20]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=20
[mName20]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=20

[mLink21]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=21
[mName21]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=21

[mLink22]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=22
[mName22]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=22

[mLink23]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=23
[mName23]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=23

[mLink24]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=24
[mName24]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=24

[mLink25]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=25
[mName25]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=25

[mLink26]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=26
[mName26]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=26

[mLink27]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=27
[mName27]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=27

[mLink28]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=28
[mName28]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=28

[mLink29]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=29
[mName29]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=29

[mLink30]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=30
[mName30]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=30

[mLink31]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=31
[mName31]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=31

[mLink32]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=32
[mName32]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=32

[mLink33]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=33
[mName33]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=33

[mLink34]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=34
[mName34]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=34

[mLink35]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=35
[mName35]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=35

[mLink36]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=36
[mName36]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=36


[mLink37]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=37
[mName37]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=37

[mLink38]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=38
[mName38]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=38

[mLink39]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=39
[mName39]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=39

[mLink40]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FilePath
Index=40
[mName40]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileName
Index=40

;---Links---


[Link1]
Meter=String
MeasureName=mName1
MeterStyle=StringStyle
Y=#TopMargin#
Text=>../Home
LeftMouseUpAction=[!CommandMeasure mLink1 FollowPath]
MouseOverAction=[!SetOption Link1 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link1 FontColor #TextColor#]

[Link2]
Meter=String
MeasureName=mName2
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink2 FollowPath]
MouseOverAction=[!SetOption Link2 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link2 FontColor #TextColor#]

[Link3]
Meter=String
MeasureName=mName3
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink3 FollowPath]
MouseOverAction=[!SetOption Link3 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link3 FontColor #TextColor#]

[Link4]
Meter=String
MeasureName=mName4
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink4 FollowPath]
MouseOverAction=[!SetOption Link4 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link4 FontColor #TextColor#]

[Link5]
Meter=String
MeasureName=mName5
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink5 FollowPath]
MouseOverAction=[!SetOption Link5 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link5 FontColor #TextColor#]

[Link6]
Meter=String
MeasureName=mName6
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink6 FollowPath]
MouseOverAction=[!SetOption Link6 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link6 FontColor #TextColor#]

[Link7]
Meter=String
MeasureName=mName7
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink7 FollowPath]
MouseOverAction=[!SetOption Link7 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link7 FontColor #TextColor#]

[Link8]
Meter=String
MeasureName=mName8
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink8 FollowPath]
MouseOverAction=[!SetOption Link8 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link8 FontColor #TextColor#]

[Link9]
Meter=String
MeasureName=mName9
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink9 FollowPath]
MouseOverAction=[!SetOption Link9 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link9 FontColor #TextColor#]

[Link10]
Meter=String
MeasureName=mName10
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink10 FollowPath]
MouseOverAction=[!SetOption Link10 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link10 FontColor #TextColor#]

[Link11]
Meter=String
MeasureName=mName11
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink11 FollowPath]
MouseOverAction=[!SetOption Link11 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link11 FontColor #TextColor#]

[Link12]
Meter=String
MeasureName=mName12
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink12 FollowPath]
MouseOverAction=[!SetOption Link12 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link12 FontColor #TextColor#]

[Link13]
Meter=String
MeasureName=mName13
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink13 FollowPath]
MouseOverAction=[!SetOption Link13 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link13 FontColor #TextColor#]

[Link14]
Meter=String
MeasureName=mName14
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink14 FollowPath]
MouseOverAction=[!SetOption Link14 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link14 FontColor #TextColor#]

[Link15]
Meter=String
MeasureName=mName15
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink15 FollowPath]
MouseOverAction=[!SetOption Link15 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link15 FontColor #TextColor#]

[Link16]
Meter=String
MeasureName=mName16
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink16 FollowPath]
MouseOverAction=[!SetOption Link16 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link16 FontColor #TextColor#]

[Link17]
Meter=String
MeasureName=mName17
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink17 FollowPath]
MouseOverAction=[!SetOption Link17 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link17 FontColor #TextColor#]

[Link18]
Meter=String
MeasureName=mName18
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink18 FollowPath]
MouseOverAction=[!SetOption Link18 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link18 FontColor #TextColor#]

[Link19]
Meter=String
MeasureName=mName19
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink19 FollowPath]
MouseOverAction=[!SetOption Link19 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link19 FontColor #TextColor#]

[Link20]
Meter=String
MeasureName=mName20
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink20 FollowPath]
MouseOverAction=[!SetOption Link20 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link20 FontColor #TextColor#]

[Link21]
Meter=String
MeasureName=mName21
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink21 FollowPath]
MouseOverAction=[!SetOption Link21 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link21 FontColor #TextColor#]

[Link22]
Meter=String
MeasureName=mName22
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink22 FollowPath]
MouseOverAction=[!SetOption Link22 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link22 FontColor #TextColor#]

[Link23]
Meter=String
MeasureName=mName23
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink23 FollowPath]
MouseOverAction=[!SetOption Link23 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link23 FontColor #TextColor#]

[Link24]
Meter=String
MeasureName=mName24
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink24 FollowPath]
MouseOverAction=[!SetOption Link24 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link24 FontColor #TextColor#]

[Link25]
Meter=String
MeasureName=mName25
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink25 FollowPath]
MouseOverAction=[!SetOption Link25 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link25 FontColor #TextColor#]

[Link26]
Meter=String
MeasureName=mName26
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink26 FollowPath]
MouseOverAction=[!SetOption Link26 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link26 FontColor #TextColor#]

[Link27]
Meter=String
MeasureName=mName27
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink27 FollowPath]
MouseOverAction=[!SetOption Link27 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link27 FontColor #TextColor#]

[Link28]
Meter=String
MeasureName=mName28
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink28 FollowPath]
MouseOverAction=[!SetOption Link28 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link28 FontColor #TextColor#]

[Link29]
Meter=String
MeasureName=mName29
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink29 FollowPath]
MouseOverAction=[!SetOption Link29 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link29 FontColor #TextColor#]

[Link30]
Meter=String
MeasureName=mName30
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink30 FollowPath]
MouseOverAction=[!SetOption Link30 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link30 FontColor #TextColor#]

[Link31]
Meter=String
MeasureName=mName31
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink31 FollowPath]
MouseOverAction=[!SetOption Link31 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link31 FontColor #TextColor#]

[Link32]
Meter=String
MeasureName=mName32
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink32 FollowPath]
MouseOverAction=[!SetOption Link32 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link32 FontColor #TextColor#]

[Link33]
Meter=String
MeasureName=mName33
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink33 FollowPath]
MouseOverAction=[!SetOption Link33 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link33 FontColor #TextColor#]

[Link34]
Meter=String
MeasureName=mName34
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink34 FollowPath]
MouseOverAction=[!SetOption Link34 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link34 FontColor #TextColor#]

[Link35]
Meter=String
MeasureName=mName35
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink35 FollowPath]
MouseOverAction=[!SetOption Link35 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link35 FontColor #TextColor#]

[Link36]
Meter=String
MeasureName=mName36
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink36 FollowPath]
MouseOverAction=[!SetOption Link36 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link36 FontColor #TextColor#]

[Link37]
Meter=String
MeasureName=mName37
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink37 FollowPath]
MouseOverAction=[!SetOption Link37 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link37 FontColor #TextColor#]

[Link38]
Meter=String
MeasureName=mName38
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink38 FollowPath]
MouseOverAction=[!SetOption Link38 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link38 FontColor #TextColor#]

[Link39]
Meter=String
MeasureName=mName39
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink39 FollowPath]
MouseOverAction=[!SetOption Link39 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link39 FontColor #TextColor#]

[Link40]
Meter=String
MeasureName=mName40
MeterStyle=StringStyle
LeftMouseUpAction=[!CommandMeasure mLink40 FollowPath]
MouseOverAction=[!SetOption Link40 FontColor #MouseOverColour#]
MouseLeaveAction=[!SetOption Link40 FontColor #TextColor#]