Code: Select all
[Rainmeter]
Update=1000
;Background=#@#Bgillustro.png
;BackgroundMode=3
;BackgroundMargins=12,12,15,40
;BackgroundMargins=left,top,right,bottom
BackgroundMode=2
SkinHeight=42
SolidColor=0,0,0,1
DynamicWindowSize=1
MouseOverAction=[!HideMeterGroup Hover] [!ShowMeterGroup Show] [!UpdateMeterGroup *] [!SetOption Clock FontColor "128,255,0"] [!UpdateMeter *] [!Redraw]
MouseLeaveAction=[!ShowMeterGroup Hover] [!HideMeterGroup Show] [!UpdateMeterGroup *] [!SetOption Clock FontColor ""] [!UpdateMeter *] [!Redraw]
AccurateText=1
[Metadata]
Author=sl23
Description=MediaStatBar
[Variables]
Player=CAD
UDX=-1
UD1=1
UD2=2
CE=\SyMenu\ProgramFiles\SPSSuite\SyMenuSuite\CubicExplorer_sps\CubicExplorer.exe
f2k=\SyMenu\ProgramFiles\SPSSuite\SyMenuSuite\foobar2000_sps\foobar2000.exe
;[MediaStatBar]
;WindowX=(#ScreenAreaX# + (#ScreenAreaWidth# / 2 - 175))
;WindowY=(#ScreenAreaY# + (#ScreenAreaHeight# - 42))
========================================
; STYLES
========================================
[sText]
StringAlign=Left
FontFace=Corbel
StringStyle=Bold
FontSize=10
FontColor=0,255,255,150
AntiAlias=1
ClipString=2
DynamicVariables=1
Group=VLC
[sHighlight]
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "128,255,0"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor ""] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
[sBar]
BarColor=235,170,0,255
BarOrientation=Horizontal
SolidColor=250,250,250,60
Y=R
W=150
H=1
Group=VLC
========================================
; DOLPHIN
========================================
[mProcessDolphin]
Measure=Plugin
Plugin=Process
ProcessName=Dolphin.exe
IfCondition=mProcessDolphin=1
IfTrueAction=[!ActivateConfig "RM\ScreenSaver" "ScreenSaver.ini"] [!Redraw]
IfFalseAction=[!DeactivateConfig "RM\ScreenSaver" "ScreenSaver.ini"] [!Redraw]
DynamicVariables=1
========================================
; FOOBAR
========================================
;[mProcessFoobar]
;Measure=Plugin
;Plugin=Process
;ProcessName=foobar2000.exe
;IfCondition=mProcessFoobar=1
;IfTrueAction=[!HideMeterGroup Foobar] [!UpdateMeter * ] [!Redraw]
;IfFalseAction=[!ShowMeterGroup Foobar] [!UpdateMeter * ] [!Redraw]
========================================
; VLC
========================================
[mProcessVLC]
Measure=Plugin
Plugin=Process
ProcessName=VLCPortable.exe
IfCondition=mProcessVLC=1
IfTrueAction=[!HideMeterGroup VLC] [!UpdateMeter * ] [!Redraw]
IfFalseAction=[!ShowMeterGroup VLC] [!UpdateMeter * ] [!Redraw]
========================================
; CPU
========================================
[mCPU]
Measure=CPU
Processor=0
[CPULabel]
Meter=String
MeterStyle=sText | sHighlight
Text=CPU
LeftMouseUpAction=[!ToggleConfig "RM\Sidebar" "SideBar - Compact.ini"]
ToolTipText=Toggle Sidebar
X=12
Y=25
[CPUValue]
Meter=String
MeterStyle=sText
StringAlign=Right
MeasureName=mCPU
Text=%1%
InlineSetting=Size | 8
InlinePattern=%
X=59r
Y=r
[CPUBar]
Meter=Bar
MeterStyle=sBar
MeasureName=mCPU
X=12
W=60
H=1
========================================
; RAM
========================================
[mRAM]
Measure=PhysicalMemory
UpdateDivider=5
[RAMLabel]
Meter=String
MeterStyle=sText | sHighlight
LeftMouseUpAction=[!ToggleConfig "RM\ScreenSaver" "ScreenSaver.ini"]
ToolTipText=Toggle ScreenSaver
Text=RAM
X=280
Y=25
[RAMValue]
Meter=String
MeterStyle=sText
StringAlign=Right
MeasureName=mRAM
Text=%1%
InlineSetting=Size | 8
InlinePattern=%
Percentual=1
X=59r
Y=r
[RAMBar]
Meter=Bar
MeterStyle=sBar
MeasureName=mRAM
X=280
W=60
H=1
========================================
; SHUTDOWN
========================================
;[Shutdown]
;Meter=Button
;ButtonImage=#@#Launchers\ShutdownDynamic22.png
;MiddleMouseUpAction=shutdown.exe -s -t 00 -f
;ToolTipText="Shutdown"
;UpdateDivider=-1
;X=5R
;Y=14
;Hidden=1
;Group=Show
========================================
; TIME+DATE
========================================
[mOSVersion]
Measure=Plugin
Plugin=SysInfo
SysInfoType=OS_Version
Substitute="Windows":"Win"
UpdateDivider=#UDX#
[mOSbits]
Measure=Plugin
Plugin=SysInfo
SysInfoType=OS_Bits
UpdateDivider=#UDX#
[mScreenSize]
Measure=Plugin
Plugin=SysInfo
SysInfoType=Screen_Size
SysInfoData=1
UpdateDivider=#UDX#
[sTime]
StringAlign=Center
FontColor=0,255,255
[mClock]
Measure=Time
Format=%#I:%M
[Clock]
Meter=String
MeasureName=mClock
MeterStyle=sText | sTime
StringStyle=Normal
FontFace=Corbel
FontSize=30
Text=%1
Group=Clock
X=175
Y=-7
MeasureName2=mOSbits
ToolTipTitle="[mOSVersion] - x%2 / [mScreenSize]"
ToolTipIcon=Info
ToolTipText="L ~ Task Manager#CRLF#M ~ Device Manager#CRLF#R ~ Open Foobar"
LeftMouseUpAction="taskmgr.exe"
MiddleMouseUpAction="devmgmt.msc"
RightMouseUpAction=#f2k#
[mTimeDate]
Measure=Time
Format=%#I:%M %a %#d %b
[TimeDate]
Meter=String
MeasureName=mTimeDate
MeterStyle=sText | sTime
FontSize=11
Text=%1
Group=Foobar
Hidden=1
X=r
Y=24
[mSec]
Measure=Time
Format=%S
MinValue=0
MaxValue=60
[Sec]
Meter=Bar
MeterStyle=sBar
MeasureName=mSec
BarColor=255,255,0,255
X=-74r
Y=17r
[sRoundBar]
LineLength=10
LineStart=8
LineColor=255,255,0,200
StartAngle=-1.570796325
RotationAngle=6.2831853
Antialias=1
Solid=1
[SecRound]
Meter=RoundLine
MeasureName=mSec
MeterStyle=sRoundBar
Group=VLC | Clock | Foobar
X=240
Y=21
[SecFooter]
Meter=Image
UpdateDivider=#UDX#
SolidColor=0,0,0,1
X=r
Y=r
W=25
========================================
; FOOBAR
========================================
[mPlayer]
Measure=Plugin
Plugin=NowPlaying
PlayerName=CAD
PlayerType=Title
DisableLeadingZero=1
IfMatch=^$
IfMatchAction=[!SetOptionGroup Foobar Hidden "1"] [!SetOptionGroup Clock Hidden "0"] [!UpdateMeterGroup *] [!UpdateMeter *] [!Redraw]
IfNotMatchAction=[!SetOptionGroup Foobar Hidden "0"] [!SetOptionGroup Clock Hidden "1"] [!UpdateMeterGroup *] [!UpdateMeter *] [!Redraw]
[mProcess]
Measure=Plugin
Plugin=Process
ProcessName=foobar2000.exe
DynamicVariables=1
;----------------------------------------------------------- CONTROLS
[mStateButton]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=STATE
Substitute="0":"#@#Player\Play.png","1":"#@#Player\Pause.png","2":"#@#Player\Play.png"
[Play]
Meter=Button
ButtonImage=[mStateButton]
ToolTipText="Play / Pause"
LeftMouseUpAction=[!CommandMeasure mPlayer "PlayPause"]
DynamicVariables=1
Group=Foobar
Hidden=1
X=40
Y=3
;----------------------------------------------------------- TRACK INFO
[mArtist]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Artist
[mAlbum]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Album
[mYear]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Year
Substitute="0":""
[mTrack]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Title
IfCondition=(mStateButton = 0)
IfTrueAction=[!SetOption "Track" Y ""] [!HideMeter Track] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOption "Track" Y "2"] [!ShowMeter Track] [!UpdateMeter *] [!Redraw]
[Track]
Meter=String
MeasureName=mTrack
MeterStyle=sText
StringAlign=Center
StringStyle=Bold
FontFace=Corbel
FontColor=128,255,0
FontSize=12
ToolTipTitle=[mTrack]
ToolTipIcon=Info
ToolTipText="[mArtist]#CRLF#[mAlbum]#CRLF#[mYear]"
LeftMouseUpAction=[!CommandMeasure mPlayer "PlayPause"]
Group=Foobar
Hidden=1
X=175
Y=2
ClipString=1
W=230
;----------------------------------------------------------- PROGRESS BAR
[mProgress]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Progress
UpdateDivider=#UD1#
[ProgressBar1]
Meter=Bar
MeasureName=mProgress
MeterStyle=sBar
BarColor=235,170,0,60
SolidColor=50,50,50,100
LeftMouseUpAction=[!CommandMeasure "mPlayer" "SetPosition $MouseX:%$"] [!UpdateMeasure mPlayer] [!UpdateMeasure mProgress] [!UpdateMeter *] [!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# BarColor "235,170,0,255"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# BarColor "235,170,0,60"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
Group=Foobar
Hidden=1
X=12
W=328
H=4
[ProgressBar2]
Meter=Bar
MeasureName=mProgress
MeterStyle=sBar
BarColor=235,170,0
Group=Foobar
Hidden=1
X=r
Y=1r
W=328
H=2
;------------------------------------------------------------ SONG TIME
[mPosition]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Position
RegExpSubstitute=1
Substitute="^0+:00":""
UpdateDivider=#UD1#
[mDuration]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Duration
UpdateDivider=#UD1#
[SongTime]
Meter=String
MeterStyle=sText | sHighlight
MeasureName=mPosition
Text=%1
ToolTipText="L ~ Show Foobar#CRLF#R ~ Close Foobar"
LeftMouseUpAction=#f2k#
RightMouseUpAction=[!CommandMeasure mPlayer "ClosePlayer"]
Group=Foobar
Hidden=1
X=12
Y=4
[SongTimeTotal]
Meter=String
MeterStyle=sText | sHighlight
MeasureName=mDuration
StringAlign=Right
Text=%1
ToolTipText="Next"
LeftMouseUpAction=[!CommandMeasure mPlayer "Next"]
Group=Foobar
Hidden=1
X=340
Y=r
;----------------------------------------------------------- COVER
[mCover]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Cover
UpdateDivider=#UDX#
[Cover]
Meter=Image
MeasureName=mCover
Hidden=1
Group=Foobar
X=-10R
Y=2
W=40
H=40
========================================
; DRIVES
========================================
[DummyHeader]
Meter=Image
UpdateDivider=#UDX#
SolidColor=0,0,0,1
X=12
W=1
H=5
[sDriveLabel]
FontColor=150,150,150,150
Hidden=1
Percentual=1
ToolTipIcon=Info
ToolTipText="%1B ~ %2B#CRLF#L ~ Open#CRLF#M ~ Eject"
DynamicVariables=1
X=6R
Y=r
[sDriveTip]
ToolTipText="%1B ~ %2B"
========================================
; DISK - E:/
========================================
[sE]
X=r
Y=R
[mELabel]
Measure=FreeDiskSpace
Drive=E:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1
[mEFree]
Measure=FreeDiskSpace
Drive=E:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
[mETotal]
Measure=FreeDiskSpace
Drive=E:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD1#
Substitute=".0":""
;IfCondition=mETotal = 0
IfCondition=(mETotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-E" X "0R"] [!HideMeterGroup "Disk-E"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-E" X ""] [!ShowMeterGroup "Disk-E"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1
[ELabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight | sDriveTip | sE
MeasureName=mEFree
MeasureName2=mETotal
Text="E:/"
LeftMouseUpAction=["#CE#" "E:\"]
;MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER E""""]
;ToolTipTitle="E: [mELabel]"
Group=Disk-E
========================================
; DISK - F:/
========================================
[mFLabel]
Measure=FreeDiskSpace
Drive=F:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1
[mFFree]
Measure=FreeDiskSpace
Drive=F:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
[mFTotal]
Measure=FreeDiskSpace
Drive=F:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD1#
Substitute=".0":""
;IfCondition=mFTotal = 0
IfCondition=(mFTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-F" X "0R"] [!HideMeterGroup "Disk-F"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-F" X ""] [!ShowMeterGroup "Disk-F"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1
[FLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight | sDriveTip
MeasureName=mFFree
MeasureName2=mFTotal
Text="F:/"
LeftMouseUpAction=["#CE#" "F:\"]
;MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER F""""]
;ToolTipTitle="F: [mFLabel]"
Group=Disk-F
========================================
; DISK - G:/
========================================
[mGLabel]
Measure=FreeDiskSpace
Drive=G:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1
[mGFree]
Measure=FreeDiskSpace
Drive=G:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
[mGTotal]
Measure=FreeDiskSpace
Drive=G:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
IfCondition=(mGTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-G" X "0R"] [!HideMeterGroup "Disk-G"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-G" X ""] [!ShowMeterGroup "Disk-G"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1
[GLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight | sG
MeasureName=mGFree
MeasureName2=mGTotal
Text="G:/"
LeftMouseUpAction=["#CE#" "G:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER G""""]
ToolTipTitle="G: [mGLabel]"
Group=Disk-G
========================================
; DISK - H:/
========================================
[mHLabel]
Measure=FreeDiskSpace
Drive=H:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1
[mHFree]
Measure=FreeDiskSpace
Drive=H:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
[mHTotal]
Measure=FreeDiskSpace
Drive=H:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
IfCondition=(mHTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-H" X "0R"] [!HideMeterGroup "Disk-H"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-H" X ""] [!ShowMeterGroup "Disk-H"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1
[HLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight
MeasureName=mHFree
MeasureName2=mHTotal
Text="H:/"
LeftMouseUpAction=["#CE#" "H:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER H""""]
ToolTipTitle="H: [mHLabel]"
Group=Disk-H
========================================
; DISK - I:/
========================================
[mILabel]
Measure=FreeDiskSpace
Drive=I:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1
[mIFree]
Measure=FreeDiskSpace
Drive=I:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
[mITotal]
Measure=FreeDiskSpace
Drive=I:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
;IfCondition=mITotal = 0
IfCondition=(mITotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-I" X "0R"] [!HideMeterGroup "Disk-I"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-I" X ""] [!ShowMeterGroup "Disk-I"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1
[ILabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight
MeasureName=mIFree
MeasureName2=mITotal
Text="I:/"
LeftMouseUpAction=["#CE#" "I:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER I""""]
ToolTipTitle="I: [mILabel]"
Group=Disk-I
========================================
; DISK - J:/
========================================
[mJLabel]
Measure=FreeDiskSpace
Drive=J:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1
[mJFree]
Measure=FreeDiskSpace
Drive=J:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
[mJTotal]
Measure=FreeDiskSpace
Drive=J:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
;IfCondition=mJTotal = 0
IfCondition=(mJTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-J" X "0R"] [!HideMeterGroup "Disk-J"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-J" X ""] [!ShowMeterGroup "Disk-J"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1
[JLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight
MeasureName=mJFree
MeasureName2=mJTotal
Text="J:/"
LeftMouseUpAction=["#CE#" "J:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER J""""]
ToolTipTitle="J: [mJLabel]"
Group=Disk-J
========================================
; DISK - K:/
========================================
[mKLabel]
Measure=FreeDiskSpace
Drive=K:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1
[mKFree]
Measure=FreeDiskSpace
Drive=K:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
[mKTotal]
Measure=FreeDiskSpace
Drive=K:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
;IfCondition=mKTotal = 0
IfCondition=(mKTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-K" X "0R"] [!HideMeterGroup "Disk-K"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-K" X ""] [!ShowMeterGroup "Disk-K"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1
[KLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight
MeasureName=mKFree
MeasureName2=mKTotal
Text="K:/"
LeftMouseUpAction=["#CE#" "K:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER K""""]
ToolTipTitle="K: [mKLabel]"
Group=Disk-K