BigZanE
Lt. Junior Grade
- Registriert
- Juli 2012
- Beiträge
- 307
Hallo, ich habe ein Theme für Rainmeter was die playlist anzeigt. Leider funktioniert das nur mit Winamp.
Ich würde das gerne umschreiben, so damit das auch mit dem Windows Media Player funktioniert.
vllt kann mir ja einer Helfen :/
Ich würde das gerne umschreiben, so damit das auch mit dem Windows Media Player funktioniert.
vllt kann mir ja einer Helfen :/
Code:
;===========================================
; Rainmeter configuration file
;===========================================
[Rainmeter]
Author=tio
AppVersion=1.1
Update=1000
DynamicWindowSize=1
Format="ahk"
[Variables]
update.Spd=90
fontColor.Text=255,255,255,255
bar.color=255,255,255,255
graph.line1=255,255,255, 220
graph.line2=255,255,255, 80
border.color=255,255,255, 255
FontName=΢ÈíÑźÚ
FontHeight=1
FontHeight1=1
AntiAlias=1
;===========================================
; WinAmp+Foobar.interface Display
;===========================================
[mRing]
Measure=Calc
Formula=360
[mWA]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
Substitute="[Paused]":""," - Winamp":"","[Í£Ö¹]":"","[ÔÝÍ£]":"",".*-":""
[MeasureWAVolume]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 -666 122
[MeasureVolumeBar]
Measure=calc
Formula=(MeasureWAVolume<=0)?0:(MeasureWAVolume/(255))
[WAPlaying]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 104
ifAboveValue=0
IfAboveAction=!execute [!RainmeterShowMeter title][!RainmeterShowMeter mPause][!RainmeterShowMeter mNext][!RainmeterShowMeter mPrev][!RainmeterShowMeter mStop][!RainmeterShowMeter ma1][!RainmeterShowMeter ma2][!RainmeterShowMeter maBg][!RainmeterShowMeter mUp][!RainmeterShowMeter mDown][!RainmeterShowMeter line][!RainmeterShowMeter mVol][!RainmeterHideMeter mPlay]
IfBelowValue=1
IfBelowAction=!execute [!RainmeterShowMeter mPlay][!RainmeterHideMeter title][!RainmeterHideMeter mPause][!RainmeterHideMeter mNext][!RainmeterHideMeter mPrev][!RainmeterHideMeter mStop][!RainmeterHideMeter ma1][!RainmeterHideMeter ma2][!RainmeterHideMeter maBg][!RainmeterHideMeter mUp][!RainmeterHideMeter mDown][!RainmeterHideMeter line][!RainmeterHideMeter mVol]
[mWAFull]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 1 105
[mWACurr]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105
[mWADuration]
Measure=Calc
Formula=mWACurr<=0?0:(mWACurr-mWAFull*1000/4>=0)?1:(mWACurr/(mWAFull*1000/4+1))
[mWADuration1]
Measure=Calc
Formula=(mWACurr-mWAFull*1000/4)<=0?0:(mWACurr-mWAFull*1000/2>=0)?1:((mWACurr-mWAFull*1000/4)/(mWAFull*1000/4+1))
[mWADuration2]
Measure=Calc
Formula=(mWACurr-mWAFull*100/2)<=0?0:(mWACurr-mWAFull*1000*3/4>=0)?1:((mWACurr-mWAFull*1000/2)/(mWAFull*1000/4+1))
[mWADuration3]
Measure=Calc
Formula=(mWACurr-mWAFull*1000*3/4>=0)?((mWACurr-mWAFull*1000*3/4)/(mWAFull*1000/4+1)):0
[mWinampCurrOrg]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105
[mWinampCurrMin]
Measure=Calc
Formula=((mWinampCurrOrg / 1000) - ((mWinampCurrOrg / 1000) % 60)) /60
[mWinampCurrSec]
Measure=Calc
Formula=(mWinampCurrOrg / 1000) % 60 = 60 ? 0 : (mWinampCurrOrg / 1000) % 60
[mWinampCurrZero]
Measure=Calc
Formula=(((mWinampCurrOrg) / 1000) % 60) < 9 ? 0 : 1
Substitute="1":""
[mWinampFullOrg]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 1 105
[mWinampFullMin]
Measure=Calc
Formula=(mWinampFullOrg - (mWinampFullOrg % 60)) /60
[mWinampFullSec]
Measure=Calc
Formula=mWinampFullOrg % 60
[mWinampFullZero]
Measure=Calc
Formula=(mWinampFullOrg % 60) < 9 ? 0 : 1
Substitute="1":""
;==============================
[background]
Meter=IMAGE
X=0
Y=20
W=200
H=40
SolidColor=255,255,255,1
[line]
Meter=IMAGE
X=0
Y=39
W=200
H=1
SolidColor=#graph.line2#
[mVol]
MeasureName=mWADuration3
Meter=BAR
X=0r
Y=0r
W=200
H=2
BarOrientation=HORIZONTAL
LineColor=#bar.color#
Flip=1
[title]
Hidden=1
Meter=STRING
MeasureName=mWA
X=180r
Y=-15r
W=190
H=100
StringStyle=NORMAL
StringAlign=right
FontColor=#fontColor.Text#
FontSize=10
FontFace=#FontName#
ClipString=1
AntiAlias=1
[mTimeCurr]
Hidden=1
Meter=STRING
;MeasureName=mWinampCurrMin
;MeasureName2=mWinampCurrSec
;MeasureName5=mWinampCurrZero
;MeasureName=mWinampFullMin
;MeasureName2=mWinampFullSec
;MeasureName3=mWinampFullZero
X=200r
Y=10r
StringAlign=left
FontColor=#fontColor.Text#
FontSize=20
FontFace=#FontName#
;Text="%1:%3%2"
AntiAlias=1
[maBg]
Meter=ROUNDLINE
MeasureName=mRing
X=200
Y=10
W=60
H=60
LineWidth=10
LineLength=30
LineStart=20
StartAngle=3.14
RotationAngle=8
LineColor=#graph.line2#
Solid=1
AntiAlias=1
[ma1]
Meter=ROUNDLINE
MeasureName=mWADuration3
X=200
Y=10
W=60
H=60
LineWidth=10
LineLength=30
LineStart=20
StartAngle=0
RotationAngle=3.2
LineColor=#bar.color#
Solid=1
AntiAlias=1
RightMouseDownAction=!RainmeterRefresh
[ma2]
Meter=ROUNDLINE
MeasureName=mWADuration
X=0r
Y=0r
W=60
H=60
LineWidth=10
LineLength=30
LineStart=20
StartAngle=3.14
RotationAngle=3.2
LineColor=#bar.color#
Solid=1
AntiAlias=1
[mbBg]
Meter=ROUNDLINE
MeasureName=mRing
X=45r
Y=0r
W=60
H=60
LineWidth=10
LineLength=25
LineStart=15
StartAngle=3.14
RotationAngle=8
LineColor=#graph.line2#
Solid=1
AntiAlias=1
[mb1]
Meter=ROUNDLINE
MeasureName=mWADuration1
X=0r
Y=0r
W=60
H=60
LineWidth=10
LineLength=25
LineStart=15
StartAngle=3.14
RotationAngle=-3.2
LineColor=#bar.color#
Solid=1
AntiAlias=1
[mb2]
Meter=ROUNDLINE
MeasureName=mWADuration2
X=0r
Y=0r
W=60
H=60
LineWidth=1
LineLength=25
LineStart=15
StartAngle=0
RotationAngle=-3.2
LineColor=#bar.color#
Solid=1
AntiAlias=1
[mNext]
Meter=STRING
X=282
Y=20
W=1
ClipString=1
FontColor=#graph.line1#
StringStyle=BOLD
FontSize=30
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="8"
LeftMouseDownAction=!execute [!RainmeterPluginBang "mWA SendMessage 273 40048 0"][!RainmeterHideMeter mPlay][!RainmeterShowMeter mPause]
[mPlay]
Meter=STRING
X=250
Y=0r
FontColor=#graph.line1#
StringStyle=BOLD
FontSize=30
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="4"
LeftMouseDownAction=!execute [!RainmeterPluginBang "mWA SendMessage 273 40045 0"][!RainmeterHideMeter mPlay][!RainmeterShowMeter mPause][E:\tools\winamp\winamp.exe]
[mPause]
Meter=STRING
X=0r
Y=0r
FontColor=#graph.line1#
StringStyle=Bold
FontSize=30
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text=";"
LeftMouseDownAction=!execute [!RainmeterPluginBang "mWA SendMessage 273 40046 0"][!RainmeterHideMeter mPause][!RainmeterShowMeter mPlay]
[mUp]
Meter=STRING
X=205
Y=-10
FontColor=#graph.line1#
StringStyle=Bold
FontSize=30
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="5"
LeftMouseDownAction=!execute [!RainmeterPluginBang "mWA SendMessage 273 40058 0"][!RainmeterPluginBang "mWA SendMessage 273 400580"][!RainmeterPluginBang "mWA SendMessage 273 40058 0"][!RainmeterPluginBang "mWA SendMessage 273 40058 0"][!RainmeterPluginBang "mWA SendMessage 273 40058 0"]
[mDown]
Meter=STRING
X=-1r
Y=60r
FontColor=#graph.line1#
StringStyle=Bold
FontSize=30
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="6"
LeftMouseDownAction=!execute [!RainmeterPluginBang "mWA SendMessage 273 40059 0"][!RainmeterPluginBang "mWA SendMessage 273 40059 0"][!RainmeterPluginBang "mWA SendMessage 273 40059 0"][!RainmeterPluginBang "mWA SendMessage 273 40059 0"][!RainmeterPluginBang "mWA SendMessage 273 40059 0"]
[mStop]
Meter=STRING
X=0r
Y=-30r
FontColor=#graph.line1#
StringStyle=Bold
FontSize=30
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="<"
LeftMouseDownAction=!execute [!RainmeterPluginBang "mWA SendMessage 273 40047 0"]
[mPrev]
Meter=STRING
X=-38r
Y=0r
FontColor=#graph.line1#
FontSize=30
StringStyle=BOLD
StringAlign=LEFT
FontFace=Webdings
Text="7"
AntiAlias=1
LeftMouseDownAction=!execute [!RainmeterPluginBang "mWA SendMessage 273 40044 0"]