Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 975

Help: Rainmeter Skins • FileView - help!

$
0
0
I've took apart my previous launcher, removing all unnecessary code. This skin is to become a launcher for system app and folder shortcuts.

I took out the first set of FileView measures and all connected code. Then removed all settings code. All good so far. Removed the code for hover and click as they are not really useful in this much simpler skin.

My problem now, is that I can't perform any path movement on the skin. I can't use followpath or previousfolder commands, they just don't work. Which is weird as everything seems ok in the code. I haven't used DynamicVariables=1 on the parent due to Yincognito's warning and link to a post about it.

The really odd thing, is that the mPath parent used for showing the path and file count, updates, but only on hover. Must be due to the update it receives on hover due to colour change. But the log doesn't show a path update and the children don't update, despite the code working ok on the other skins. I just can't see what's wrong. I can scroll ok, but not follow path or go back.

This is a part of the code, including the parent, index1 set of measures and the button press and finally code for the display of path and folder/file count:

Code:

[mListPath]Measure=PluginPlugin=FileViewPath="#SkinsPath##CURRENTCONFIG#\Shortcuts"ShowDotDot=0HideExtensions=1Count=10FinishAction=[!UpdateMeasureGroup List][!UpdateMeterGroup List][!Redraw]; Index 1  ----------------------------------------------------[mList1Name]Measure=PluginPlugin=FileViewPath=[mListPath]Type=FileNameIndex=1IfMatchMode=1IfMatch=^$IfMatchAction=[!DisableMeasureGroup #CURRENTSECTION#]IfNotMatchAction=[!EnableMeasureGroup #CURRENTSECTION#]DynamicVariables=1Group=List[mList1]Measure=PluginPlugin=FileViewPath=[mListPath]Type=IconIconPath=#Icons#\#CURRENTSECTION#.icoIndex=1Group=List | #CURRENTSECTION#NameDynamicVariables=1[mList1Ext]Measure=PluginPlugin=FileViewPath=[mListPath]Type=FileTypeIndex=1IfMatch=#ListExtMatch#IfMatchAction=[!SetOption List1Name FontColor "#Yellow#"][!UpdateMeter List1Name][!Redraw]IfNotMatchAction=[!SetOption List1Name FontColor "#White#"][!UpdateMeter List1Name][!Redraw]Group=List | mList1NameDynamicVariables=1[ListBg]Meter=ShapeShape=Rectangle 0,0,232,225 | Fill Color #Trans# | StrokeWidth 0MouseScrollUpAction=[!CommandMeasure mListPath "IndexUp"][!CommandMeasure mListPath "IndexUp"][!UpdateMeasure mListPath][!UpdateMeasureGroup List][!UpdateMeterGroup List][!Redraw]MouseScrollDownAction=[!CommandMeasure mListPath "IndexDown"][!CommandMeasure mListPath "IndexDown"][!UpdateMeasure mListPath][!UpdateMeasureGroup List][!UpdateMeterGroup List][!Redraw]DynamicVariables=1X=10Y=62[sIcon]MeasureName=m#CURRENTSECTION#PreserveAspectRatio=1SolidColor=#Trans#AntiAlias=1Group=List | m#CURRENTSECTION#DynamicVariables=1X=([#CURRENTSECTION#Name:X]+(#IconSize#/4))Y=([#CURRENTSECTION#Name:Y]+1)W=#IconSize#[sListText]MeasureName=m#CURRENTSECTION#Padding=(#IconSize#*1.5),0,0,0MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "#HoverColor#"][!UpdateMeter #CURRENTSECTION#][!Redraw]MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor ""][!UpdateMeter #CURRENTSECTION#][!Redraw]LeftMouseDownAction=[!SetOption #CURRENTSECTION# SolidColor "#ClickColor#,60"][!UpdateMeter #CURRENTSECTION#][!Redraw]LeftMouseUpAction=[!SetOption #CURRENTSECTION# SolidColor "#HoverColor#"][!UpdateMeter #CURRENTSECTION#][!Redraw]LeftMouseDoubleClickAction=[!CommandMeasure m#CURRENTSECTION# "FollowPath"][!CommandMeasure mListPath "Update"]MiddleMouseUpAction=[!SetClip "[m[#CURRENTSECTION]]"]RightMouseUpAction=[!CommandMeasure m#CURRENTSECTION# "ContextMenu"]X1MouseUpAction=[!CommandMeasure mListPath "PreviousFolder"][!CommandMeasure mListPath "Update"]Group=ListX=rY=(#IconSize#+4)rW=205H=20; List NAME METERS  ----------------------------------------------[List1Name]Meter=StringMeterStyle=sGlobalText | sListTextX=[ListBg:X]Y=([ListBg:Y]+10)[List1]Meter=ImageMeterStyle=sIcon[mPath]Measure=PluginPlugin=FileViewPath=[mListPath]Type=FolderPathGroup=ListSubstitute="#SkinsPath#":"","\":" \ "; IfMatch=^$; IfMatchAction=[!SetOption FilePath Text "Rainmeter Skins Folder"][!DisableMouseAction Back "LeftMouseUpAction"][!DisableMouseAction Background "X1MouseUpAction"][!UpdateMeterGroup Back]; IfNotMatchAction=[!SetOption FilePath Text ""][!EnableMouseAction Back "LeftMouseUpAction"][!EnableMouseAction Background "X1MouseUpAction"][!UpdateMeterGroup Back][mFolderCount]Measure=PluginPlugin=FileViewPath=[mListPath]Type=FolderCountGroup=List[mFileCount]Measure=PluginPlugin=FileViewPath=[mListPath]Type=FileCountGroup=List[FilePath]Meter=StringMeterStyle=sGlobalText | sHighlightText=[mPath]#CRLF#Folders: [mFolderCount]          Files: [mFileCount]ToolTipIcon=InfoToolTipTitle=[mListPath]ToolTipText=Open FolderLeftMouseUpAction=[mListPath]ClipString=1Group=ListX=13Y=41W=228InLineSetting=Color | #White#InLinePattern=Folders:InLineSetting2=Color | #Blue#InLinePattern2=Folders: (.*)InLineSetting3=Color | #White#InLinePattern3=Files:InLineSetting4=Color | #Orange#InLinePattern4=Files: (.*)InLineSetting5=Color | #Yellow#InLinePattern5=\\
Can you see what I've done wrong here?
Thanks. :thumbup:

Here's a gif for a better explanation. I perform a scroll, then click several times on the New Folder at Index1, then I click the X1 mouse button to perform go back to previous folder a few times.
GIF 25-01-2025 13-55-36.gif

Statistics: Posted by sl23 — Yesterday, 1:49 pm — Replies 4 — Views 70



Viewing all articles
Browse latest Browse all 975

Trending Articles