Advertisement
Guest User

interactive dock config file

a guest
Jan 18th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. [Rainmeter]
  2. OnRefreshAction=[!Delay 500][!CommandMeasure Animation "Stop 1"][!CommandMeasure Animation "Execute 1"]
  3. MouseLeaveAction=[!CommandMeasure Animate "highlight(0)"][!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Execute 6"]
  4. Update=-1
  5. SkinWidth=(#vertical#= 1 ? (#expand#*#width#) : (#TotalGame#*#width#+#expand#*#width#))
  6. SkinHeight=(#vertical#= 1 ? (#TotalGame#*#height#+#expand#*#height#) : (#expand#*#height#))
  7.  
  8. RightMouseUpAction=!Execute [!SkinCustomMenu]
  9. ContextTitle=Toggle edit
  10. ContextAction=[!CommandMeasure "Animate" "toggle_edit()"][!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Execute 6"]
  11. ContextTitle2=Add icon
  12. ContextAction2=[!CommandMeasure "Animate" "add_icon()"]
  13. ContextTitle3=Remove icon
  14. ContextAction3=[!CommandMeasure "Animate" "remove_icon()"]
  15. ContextTitle4=---
  16. ContextTitle5=Setting file
  17. ContextAction5=["#@#Settings.inc"]
  18. ContextTitle6=List file
  19. ContextAction6=["#@#Applist.inc"]
  20. ContextTitle7=---
  21. ContextTitle8=Rainmeter Menu
  22. ContextAction8=[!SkinMenu]
  23.  
  24.  
  25. [Metadata]
  26. Name=Game Drawer
  27. Author=FinchNelson
  28. Information=A rainmeter dock with cool animation. Made with genuine personal interest
  29. License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
  30. Version=nice dock 1.0
  31.  
  32. [Variables]
  33. @Include=#@#Applist.inc
  34. @Include2=#@#Settings.inc
  35. Directory=#@#App\
  36.  
  37.  
  38. [ScriptRepeatIcon]
  39. Measure=Script
  40. ScriptFile=#@#RepeatSection.lua
  41. ReadFile=#@#Layout.inc
  42. WriteFile=#@#IconMeter.inc
  43. Sub=Repeat
  44. Index=1
  45. Limit=(#TotalGame#)
  46.  
  47. [LayoutIcon]
  48. Meter=Image
  49. X=0
  50. Y=(-#height#-#padding#)
  51. W=#width#
  52. H=#height#
  53. Padding=0,0,0,0
  54. AntiAlias=1
  55. PreserveAspectRatio=1
  56. SolidColor=0,0,0,1
  57. DynamicVariables=1
  58. Group=Icons
  59.  
  60. [Background]
  61. meter=Image
  62. X=0
  63. Y=0
  64. W=#CURRENTCONFIGWIDTH#
  65. H=#CURRENTCONFIGHEIGHT#
  66. SolidColor=0,0,0,1
  67. MouseLeaveAction=[!CommandMeasure Animation "Stop 2"][!CommandMeasure Animation "Execute 2"]
  68. MouseOverAction=[!CommandMeasure Animation "Stop 3"][!CommandMeasure Animation "Execute 3"]
  69. UpdateDivider=-1
  70.  
  71.  
  72. [DragNDropParent]
  73. Measure=Plugin
  74. Plugin=Drag&Drop
  75. Group=DropGroup
  76. Action=Path
  77. OnDropAction=[!SetVariable File "$File$"][!CommandMeasure Animate "drop_file()"]
  78. Disabled=1
  79.  
  80.  
  81. [Animate]
  82. Measure=Script
  83. ScriptFile=#@#\Animation.lua
  84. DynamicVariables=1
  85. IfCondition= ( 1 = 1 )
  86. IfTrueAction=[!CommandMeasure "Animate" "animate()"]
  87. IfConditionMode=1
  88.  
  89. [Animation]
  90. Measure=Plugin
  91. Plugin=ActionTimer
  92. Group=Animation
  93. DynamicVariables=1
  94. ActionList1=Repeat Init, 150, #TotalGame# | InitDone
  95. ActionList2= Wait 1000 | HideNow
  96. ActionList3= StopHide | Repeat Show, 30, #TotalGame#
  97. ActionList4= DropImage
  98. ActionList5= DropFile
  99. ActionList6= Repeat Draw, 25, #step#
  100. ActionList7= Repeat Hide, 30, #TotalGame#
  101. Init=[!CommandMeasure "Animate" "show_more()"][!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Execute 6"]
  102. InitDone=[!CommandMeasure Animation "Stop 2"][!CommandMeasure Animation "Execute 2"][!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Execute 6"]
  103. StopHide=[!CommandMeasure Animation "Stop 2"][!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Execute 6"]
  104. Hide=[!CommandMeasure "Animate" "hide_icon()"][!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Execute 6"]
  105. Show=[!CommandMeasure "Animate" "unhide_icon()"]
  106. DropImage=[xcopy "#File#" "#Directory#" /y][!WriteKeyValue Variables "Gamecover#Edit#" "#Filename#" "#@#Applist.inc"][!SetVariable Gamecover#Edit# #Filename#][!Delay 1000][!UpdateMeter Icon#Edit#][!SetOption Debug Text "Added image: #File#"]
  107. DropFile=[!WriteKeyValue Variables "Gamedir#Edit#" "#File#" "#@#Applist.inc"][!SetVariable Gamedir#Edit# #File#][!SetOption Debug Text "Added file: #File#"]
  108. Draw=[!CommandMeasure "Animate" "animate()"][!UpdateMeterGroup "Icons"][!UpdateMeasureGroup "DropGroup"][!Redraw]
  109. HideNow=[!CommandMeasure Animation "Stop 6"][!CommandMeasure Animation "Stop 7"][!CommandMeasure Animation "Execute 7"]
  110.  
  111. [Debug]
  112. Meter=String
  113. StringAlign=CenterBottom
  114. X=(#CURRENTCONFIGWIDTH#/2)
  115. Y=(#CURRENTCONFIGHEIGHT#)
  116. FontColor=255,255,255,200
  117. FontSize=15
  118. Text=Enable edit
  119. Hidden=1
  120. Group=Icons
  121.  
  122. @Include=#@#IconMeter.inc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement