Help inserting recycle bin into skin
Posted: June 17th, 2017, 6:52 pm
So im using this awesome rainmeter skin/dock by hysteria27 http://hysteria27.deviantart.com/art/Simple53-447658404 and am trying to add an icon for recycle bin that changes according to whether its full or empty.
When I add the following code it just makes a recycle bin appear in the top left of the screen but it seems to be totally separate to the skin and doesn't work as it should.
What im basically trying to do is get AppIcon2 to be a recycle bin icon that changes according to bin status.
Any help would be greatly appreciated
When I add the following code it just makes a recycle bin appear in the top left of the screen but it seems to be totally separate to the skin and doesn't work as it should.
Code: Select all
[Variables]
;--------------
; Application 1
;--------------
AppIcon1=Alienhead.png
AppName1=This PC
AppPath1=explorer.exe
BgColor1=000000
;--------------
; Application 2
;--------------
AppIcon2=[recyclebin]
AppName2=Recycle Bin
AppPath2=::{645FF040-5081-101B-9F08-00AA002F954E}
BgColor2=FF0000
;--------------
; Application 3
;--------------
AppIcon3=Google Chrome.png
AppName3=Google Chrome
AppPath3=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
BgColor3=F4C20D
;--------------
; Application 4
;--------------
AppIcon4=Word.png
AppName4=Microsoft Word
AppPath4=winword.exe
BgColor4=2B5796
;--------------
; Application 5
;--------------
AppIcon5=Photoshop.png
AppName5=Adobe Photoshop
AppPath5=C:\Program Files\Adobe\Adobe Photoshop CC 2017\Photoshop.exe
BgColor5=0C5fA1
[recyclebin]
Meter=Image
DynamicVariables=1
LeftMouseUpAction=[::{645FF040-5081-101B-9F08-00AA002F954E}]
[Measure]
Measure=Plugin
Plugin=RecycleManager
RecycleType=Count
DynamicVariables=1
IfCondition=Measure = 0
IfTrueAction=[!SetOption recyclebin ImageName "Recycle Bin Empty.png"][!Redraw]
IfFalseAction=[!SetOption recyclebin ImageName "Recycle Bin Full.png"][!Redraw]
Any help would be greatly appreciated