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

Help: Rainmeter Skins • FileView & Shape Container

$
0
0
Hello :bow:

I have a small problem with the shape container.
The container functions like a kind of text field for my strings. The shape container also has a mouse scroll. Unfortunately I can not scrolling between the string spaces. So it only works if you hit exatly the string to scroll. Maybe its an little problem but unfortly i can´t handle it.

This code is a later part of another project.

Thank you in advance for your time and help :rosegift: :thumbup:

String 1
#space# no scroll
String 2

Code:

[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1[Variables]Path=C:ShowContent=0[FileArea]Meter=ShapeShape=Rectangle 0,0,150,80,1 | Fill Color 0,0,0,255 |AntiAlias=1DynamicVariables=1MouseScrollUpAction=[!CommandMeasure mPath "IndexUp"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw];--MouseScrollDownAction=[!CommandMeasure mPath "IndexDown"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw][TextStyle]X=0rY=0RFontColor=220,220,220FontSize=8FontFace=Segoe UIStringStyle=BOLDStringAlign=LEFTAntiAlias=1Text=%1Padding=10,0,10,0Group=Content[mPath]Measure=PluginPlugin=FileViewShowDotDot=0ShowHidden=0Showsystem=0Path=#Path#Count=8[mIndex1Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=1Group=Children[mIndex2Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=2Group=Children[mIndex3Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=3Group=Children[mIndex4Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=4Group=Children[mIndex5Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=5Group=Children[mIndex6Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=6Group=Children[mIndex7Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=7Group=Children[mIndex8Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=8Group=Children[MeasureContent]Measure=CalcFormula=#ShowContent#IfCondition=(#CURRENTSECTION#=0)IfTrueAction=[!HideMeterGroup "Content"][!Redraw]IfFalseAction=[!ShowMeterGroup "Content"][!Redraw]DynamicVariables=1[PathTitle]Meter=StringX=0rY=100Padding=10,5,10,5FontColor=220,220,220SolidColor=50,50,50,255FontSize=8FontFace=Segoe UIStringStyle=BOLDStringAlign=LEFTAntiAlias=1Text=Path: #Path#LeftMouseUpAction=[!SetVariable ShowContent "(1-#ShowContent#)"][!UpdateMeasure "MeasureContent"][!UpdateMeter "#CURRENTSECTION#"]DynamicVariables=1[MeterIndex1]Container=FileAreaMeter=StringMeasureName=mIndex1NameMeterStyle=TextStyleDynamicVariables=1LeftMouseDoubleClickAction=[!CommandMeasure "mIndex1Name" "FollowPath"][!UpdateMeasure "mPath"][!UpdateMeasureGroup "Children"][!UpdateMeter *][MeterIndex2]Container=FileAreaMeter=StringMeasureName=mIndex2NameMeterStyle=TextStyleDynamicVariables=1LeftMouseDoubleClickAction=[!CommandMeasure "mIndex2Name" "FollowPath"][!UpdateMeasure "mPath"][!UpdateMeasureGroup "Children"][!UpdateMeter *][MeterIndex3]Container=FileAreaMeter=StringMeasureName=mIndex3NameMeterStyle=TextStyleDynamicVariables=1LeftMouseDoubleClickAction=[!CommandMeasure "mIndex3Name" "FollowPath"][!UpdateMeasure "mPath"][!UpdateMeasureGroup "Children"][!UpdateMeter *][MeterIndex4]Container=FileAreaMeter=StringMeasureName=mIndex4NameMeterStyle=TextStyleDynamicVariables=1LeftMouseDoubleClickAction=[!CommandMeasure "mIndex4Name" "FollowPath"][!UpdateMeasure "mPath"][!UpdateMeasureGroup "Children"][!UpdateMeter *][MeterIndex5]Container=FileAreaMeter=StringMeasureName=mIndex5NameMeterStyle=TextStyleDynamicVariables=1LeftMouseDoubleClickAction=[!CommandMeasure "mIndex5Name" "FollowPath"][!UpdateMeasure "mPath"][!UpdateMeasureGroup "Children"][!UpdateMeter *][MeterIndex6]Container=FileAreaMeter=StringMeasureName=mIndex6NameMeterStyle=TextStyleDynamicVariables=1LeftMouseDoubleClickAction=[!CommandMeasure "mIndex6Name" "FollowPath"][!UpdateMeasure "mPath"][!UpdateMeasureGroup "Children"][!UpdateMeter *][MeterIndex7]Container=FileAreaMeter=StringMeasureName=mIndex7NameMeterStyle=TextStyleDynamicVariables=1LeftMouseDoubleClickAction=[!CommandMeasure "mIndex7Name" "FollowPath"][!UpdateMeasure "mPath"][!UpdateMeasureGroup "Children"][!UpdateMeter *][MeterIndex8]Container=FileAreaMeter=StringMeasureName=mIndex8NameMeterStyle=TextStyleDynamicVariables=1LeftMouseDoubleClickAction=[!CommandMeasure "mIndex8Name" "FollowPath"][!UpdateMeasure "mPath"][!UpdateMeasureGroup "Children"][!UpdateMeter *]

Statistics: Posted by Rooky_89 — Yesterday, 5:19 pm — Replies 4 — Views 98



Viewing all articles
Browse latest Browse all 528

Trending Articles