Re: New SkinWidth / SkinHeight options
Posted: September 25th, 2015, 1:45 pm
Are you aware that using the SELECT ALL option and pasting into a text editor puts a space at the beginning of every line? This makes the code unusable, or at least it's not highlighting correctly in SynWrite, my text editor. Manually highlighting then right clicking and selecting Copy/Paste works fine.jsmorley wrote:Code: Select all
[Rainmeter] Update=1000 DynamicWindowSize=1 AccurateText=1 SkinWidth=300 SkinHeight=100 BackgroundMode=2 SolidColor=0,0,0,1 [Variables] DateX=301 StringWidth=0 StepSize=10 Iterations=0 U=[!UpdateMeasure SlideDate][!UpdateMeter *][!Redraw] [MeasureTime] Measure=Time Format=%#I:%M %p [MeasureDate] Measure=Time Format=%A, %B %#d, %Y [MeterTime] Meter=String MeasureName=MeasureTime X=290 Y=0 FontFace=Trebuchet MS FontSize=40 FontColor=255,255,255,255 SolidColor=0,0,0,1 StringAlign=Right AntiAlias=1 InlineSetting=Size | 20 InlinePattern=.*( \w\w) InlineSetting2=Weight | 700 InlinePattern2=(.*) \w MouseOverAction=[!CommandMeasure SlideDate "Stop 2"][!CommandMeasure SlideDate "Execute 1"] MouseLeaveAction=[!CommandMeasure SlideDate "Stop 1"][!CommandMeasure SlideDate "Execute 2"] [MeterDateStringWidth] Meter=String MeasureName=MeasureDate FontFace=Trebuchet MS FontSize=16 FontColor=0,0,0,0 AntiAlias=1 OnUpdateAction=[!SetVariable StringWidth "[MeterDateStringWidth:W]"][!SetVariable Iterations "(Ceil([MeterDateStringWidth:W]/#StepSize#))"][!UpdateMeasure SlideDate] DynamicVariables=1 [MeterDate] Meter=String MeasureName=MeasureDate X=(#DateX# + #StringWidth#) Y=([MeterTime:Y] + [MeterTime:H] - 7) FontFace=Trebuchet MS FontSize=16 FontColor=255,255,255,255 SolidColor=0,0,0,1 StringAlign=Right AntiAlias=1 DynamicVariables=1 [SlideDate] Measure=Plugin Plugin=ActionTimer ActionList1=Repeat SlideLeft, 10, #Iterations# SlideLeft=[!SetVariable DateX "(Clamp(#DateX#-#StepSize#,(291-#StringWidth#),301))"]#U# ActionList2=Repeat SlideRight, 10, #Iterations# SlideRight=[!SetVariable DateX "(Clamp(#DateX#+#StepSize#,(291-#StringWidth#),301))"]#U# DynamicVariables=1