Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; ------------------------------------------------
- ; Common
- ; ------------------------------------------------
- [Rainmeter]
- Update=1000
- [Variables]
- UserAgent=Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko
- ; ------------------------------------------------
- ; Measures
- ; ------------------------------------------------
- ; WebParser
- [MeasureGetSite]
- Group=PassiveMeasure
- Measure=Plugin
- Plugin=WebParser
- UserAgent=#UserAgent#
- RegExp=(?s).+
- [MeasureGetImageURL]
- Group=PassiveMeasure
- Measure=Plugin
- Plugin=WebParser
- URL=[MeasureGetSite]
- UserAgent=#UserAgent#
- StringIndex2=1
- FinishAction=[!CommandMeasure MeasureLuaScript InitDLImage()]
- OnRegExpErrorAction=[!Log "Failed to get ImageURL"]
- [MeasureGetImageEx]
- Group=PassiveMeasure
- Measure=Plugin
- Plugin=WebParser
- URL=[MeasureGetImageURL]
- StringIndex=2
- [MeasureGetImagePostingURL]
- Group=PassiveMeasure
- Measure=Plugin
- Plugin=WebParser
- URL=[MeasureGetSite]
- StringIndex2=1
- OnRegExpErrorAction=[!Log "Failed to get ImagePostingURL"]
- [MeasureDLImage]
- Group=PassiveMeasure
- Measure=Plugin
- Plugin=WebParser
- UserAgent=#UserAgent#
- Download=1
- FinishAction=[!CommandMeasure MeasureLuaScript InitShowImage('DL')]
- ; FileView
- [MeasureGetImageDir]
- Group=PassiveMeasure
- Measure=Plugin
- Plugin=FileView
- ShowDotDot=0
- ShowFolder=0
- Extensions=png;jpg;jpeg;gif
- FinishAction=[!CommandMeasure MeasureLuaScript InitShowImage('Dir')]
- [MeasureCountImageFiles]
- Group=PassiveMeasure
- Measure=Plugin
- Plugin=FileView
- Path=[MeasureGetImageDir]
- Type=FileCount
- [MeasureGetImageName]
- Group=PassiveMeasure
- Measure=Plugin
- Plugin=FileView
- Path=[MeasureGetImageDir]
- Type=FilePath
- IgnoreCount=1
- Index=1
- ; Script
- [MeasureLuaScript]
- Measure=Script
- ScriptFile=images.lua
- UpdateDivider=-1
- ; ------------------------------------------------
- ; Meters
- ; ------------------------------------------------
- [MeterStartGuide]
- Group=PassiveMeter
- Meter=String
- Text=This skin is for displaying images#CRLF#Check configs.lua first
- FontSize=15
- FontColor=255, 255, 255, 255
- StringEffect=Border
- FontEffectColor=0, 0, 0, 255
- [MeterBackground]
- Group=PassiveMeter
- Meter=Shape
- Shape= Rectangle 0, 0, #ImageMaxWidth#, #ImageMaxHeight# | Fill Color 255,255,255,10 | StrokeWidth 1
- LeftMouseUpAction=[!CommandMeasure MeasureLuaScript ShowImage('next')]
- RightMouseUpAction=[!CommandMeasure MeasureLuaScript ShowImage('prev')]
- [MeterImage]
- Group=PassiveMeter
- Meter=Image
- [MeterController]
- Group=PassiveMeter
- Meter=Shape
- Shape=Rectangle 0, 0, 125, 20 | Fill Color 0, 0, 0, 100 | StrokeWidth 0
- [MeterControllerPrev]
- Group=PassiveMeter
- Meter=String
- Text=prev
- FontColor=255, 255, 255, 255
- X=5
- Y=1
- LeftMouseUpAction=[!CommandMeasure MeasureLuaScript ShowImage('prev')]
- [MeterControllerOpen]
- Group=PassiveMeter
- Meter=String
- Text=open
- FontColor=255, 255, 255, 255
- X=10R
- Y=1
- [MeterControllerNext]
- Group=PassiveMeter
- Meter=String
- Text=next
- FontColor=255, 255, 255, 255
- X=10R
- Y=1
- LeftMouseUpAction=[!CommandMeasure MeasureLuaScript ShowImage('next')]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement