Advertisement
ctrl_c_v

images

Apr 14th, 2017
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; ------------------------------------------------
  2. ; Common
  3. ; ------------------------------------------------
  4.  
  5. [Rainmeter]
  6. Update=1000
  7.  
  8. [Variables]
  9. UserAgent=Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko
  10.  
  11. ; ------------------------------------------------
  12. ; Measures
  13. ; ------------------------------------------------
  14.  
  15. ; WebParser
  16. [MeasureGetSite]
  17. Group=PassiveMeasure
  18. Measure=Plugin
  19. Plugin=WebParser
  20. UserAgent=#UserAgent#
  21. RegExp=(?s).+
  22.  
  23. [MeasureGetImageURL]
  24. Group=PassiveMeasure
  25. Measure=Plugin
  26. Plugin=WebParser
  27. URL=[MeasureGetSite]
  28. UserAgent=#UserAgent#
  29. StringIndex2=1
  30. FinishAction=[!CommandMeasure MeasureLuaScript InitDLImage()]
  31. OnRegExpErrorAction=[!Log "Failed to get ImageURL"]
  32.  
  33. [MeasureGetImageEx]
  34. Group=PassiveMeasure
  35. Measure=Plugin
  36. Plugin=WebParser
  37. URL=[MeasureGetImageURL]
  38. StringIndex=2
  39.  
  40. [MeasureGetImagePostingURL]
  41. Group=PassiveMeasure
  42. Measure=Plugin
  43. Plugin=WebParser
  44. URL=[MeasureGetSite]
  45. StringIndex2=1
  46. OnRegExpErrorAction=[!Log "Failed to get ImagePostingURL"]
  47.  
  48. [MeasureDLImage]
  49. Group=PassiveMeasure
  50. Measure=Plugin
  51. Plugin=WebParser
  52. UserAgent=#UserAgent#
  53. Download=1
  54. FinishAction=[!CommandMeasure MeasureLuaScript InitShowImage('DL')]
  55.  
  56. ; FileView
  57. [MeasureGetImageDir]
  58. Group=PassiveMeasure
  59. Measure=Plugin
  60. Plugin=FileView
  61. ShowDotDot=0
  62. ShowFolder=0
  63. Extensions=png;jpg;jpeg;gif
  64. FinishAction=[!CommandMeasure MeasureLuaScript InitShowImage('Dir')]
  65.  
  66. [MeasureCountImageFiles]
  67. Group=PassiveMeasure
  68. Measure=Plugin
  69. Plugin=FileView
  70. Path=[MeasureGetImageDir]
  71. Type=FileCount
  72.  
  73. [MeasureGetImageName]
  74. Group=PassiveMeasure
  75. Measure=Plugin
  76. Plugin=FileView
  77. Path=[MeasureGetImageDir]
  78. Type=FilePath
  79. IgnoreCount=1
  80. Index=1
  81.  
  82. ; Script
  83. [MeasureLuaScript]
  84. Measure=Script
  85. ScriptFile=images.lua
  86. UpdateDivider=-1
  87.  
  88. ; ------------------------------------------------
  89. ; Meters
  90. ; ------------------------------------------------
  91.  
  92. [MeterStartGuide]
  93. Group=PassiveMeter
  94. Meter=String
  95. Text=This skin is for displaying images#CRLF#Check configs.lua first
  96. FontSize=15
  97. FontColor=255, 255, 255, 255
  98. StringEffect=Border
  99. FontEffectColor=0, 0, 0, 255
  100.  
  101. [MeterBackground]
  102. Group=PassiveMeter
  103. Meter=Shape
  104. Shape= Rectangle 0, 0, #ImageMaxWidth#, #ImageMaxHeight# | Fill Color 255,255,255,10 | StrokeWidth 1
  105. LeftMouseUpAction=[!CommandMeasure MeasureLuaScript ShowImage('next')]
  106. RightMouseUpAction=[!CommandMeasure MeasureLuaScript ShowImage('prev')]
  107.  
  108. [MeterImage]
  109. Group=PassiveMeter
  110. Meter=Image
  111.  
  112. [MeterController]
  113. Group=PassiveMeter
  114. Meter=Shape
  115. Shape=Rectangle 0, 0, 125, 20 | Fill Color 0, 0, 0, 100 | StrokeWidth 0
  116.  
  117. [MeterControllerPrev]
  118. Group=PassiveMeter
  119. Meter=String
  120. Text=prev
  121. FontColor=255, 255, 255, 255
  122. X=5
  123. Y=1
  124. LeftMouseUpAction=[!CommandMeasure MeasureLuaScript ShowImage('prev')]
  125.  
  126. [MeterControllerOpen]
  127. Group=PassiveMeter
  128. Meter=String
  129. Text=open
  130. FontColor=255, 255, 255, 255
  131. X=10R
  132. Y=1
  133.  
  134. [MeterControllerNext]
  135. Group=PassiveMeter
  136. Meter=String
  137. Text=next
  138. FontColor=255, 255, 255, 255
  139. X=10R
  140. Y=1
  141. LeftMouseUpAction=[!CommandMeasure MeasureLuaScript ShowImage('next')]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement