Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; https://gfycat.com/hugeunacceptableborer
- ; ============================================================================================
- ; [Metadata]
- ; Contains a brief description of this skin
- ; ============================================================================================
- [Metadata]
- Name=
- Author=
- Information=
- Version=
- License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0
- ; ============================================================================================
- ; [Rainmeter]
- ; ============================================================================================
- [Rainmeter]
- ; =====================================================================
- ; General Settings
- ; =====================================================================
- SkinWidth=1000
- DefaultUpdateDivider=-1
- ; =====================================================================
- ; Skin Actions
- ; =====================================================================
- OnRefreshAction=[!Delay 5000][!UpdateMeterGroup DynamicStringWidth][!EnableMeasure SpacingIncrement][!UpdateMeasure SpacingIncrement]
- ; =====================================================================
- ; Custom Context Menu
- ; =====================================================================
- ; ============================================================================================
- ; [Variables]
- ; Declaring relevant variables and @Include
- ; ============================================================================================
- [Variables]
- ; =====================================================================
- ; =====================================================================
- StringRaw=This is a sample string.
- FinalWidth=180
- SpacingIncrement_Speed=0.25
- ; =====================================================================
- ; =====================================================================
- [Style_String]
- FontFace=Bitstream vera sans
- FontSize=12
- FontColor=255,255,255
- AntiAlias=1
- [Style_Inline]
- InlineSetting=CharacterSpacing | ([SpacingIncrement]) | ([SpacingIncrement])
- DynamicVariables=1
- ; ============================================================================================
- ; Measures, Scripts, and Plugins
- ; ============================================================================================
- ; =====================================================================
- ; =====================================================================
- [String_Source]
- Measure=String
- String=#StringRaw#
- OnChangeAction=[!UpdateMeterGroup DynamicStringWidth][!EnableMeasure SpacingIncrement][!UpdateMeasure SpacingIncrement]
- ; =====================================================================
- ; =====================================================================
- [SpacingIncrement]
- Measure=Calc
- Formula=#CurrentSection#+#SpacingIncrement_Speed#
- IfCondition=([String_Dummy:w]+#SpacingIncrement_Speed#) <= #FinalWidth#
- IfTrueAction=[!Delay 500][!UpdateMeasure #CurrentSection#][!UpdateMeterGroup DynamicStringWidth]
- IfFalseAction=[!DisableMeasure #CurrentSection#]
- IfConditionMode=1
- DynamicVariables=1
- Disabled=1
- OnChangeAction=[!UpdateMeterGroup DynamicStringWidth]
- ; ============================================================================================
- ; Meters
- ; ============================================================================================
- ; =====================================================================
- ; [PlaceHolder]
- ; Temporary meter to allow this skin to be loaded
- ; =====================================================================
- [String_Dummy]
- Group=DynamicStringWidth
- MeterStyle=Style_String | Style_Inline
- Meter=String
- MeasureName=String_Source
- y=(-#ScreenAreaHeight#)
- Text=%1
- SolidColor=255,0,0,127
- [String_Display]
- Group=DynamicStringWidth
- MeterStyle=Style_String | Style_Inline
- Meter=String
- MeasureName=String_Source
- Text=%1
- SolidColor=0,255,0,127
- ; =====================================================================
- ; =====================================================================
- [String_Display_Width]
- Group=DynamicStringWidth
- MeterStyle=Style_String
- Meter=String
- y=0R
- Text=Width: [String_Dummy:w]
- DynamicVariables=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement