It is currently January 30th, 2023, 5:06 pm

Hide winamp skin from desktop

Tips and Tricks from the Rainmeter Community
User avatar
Samus Aran
Posts: 86
Joined: August 7th, 2009, 11:23 pm

Re: Hide winamp skin from desktop

Post by Samus Aran »

Could you maybe attach the whole skin, so that I can understand it?
I'm new to measuring volume with RM :D
User avatar
Yelleke
Posts: 73
Joined: September 5th, 2009, 11:38 am
Location: Belgium

Re: Hide winamp skin from desktop

Post by Yelleke »

Your wich is my command
[Rainmeter]
Update=200

[Variables]
WinampFolder=c:\progra~1\winamp\Winamp.exe
;WinampFolder="\\MEDIACENTER\Program Files (x86)\Winamp\Winamp.exe"
FontName=Tahoma

;MEASURES_________________________________________

[MeasureWA]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
Substitute=" - Winamp":""

[MeasureWAFull]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 1 105

[MeasureWACurr]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105
IfEqualValue=0
IfEqualAction=!execute [!RainmeterHideMeter MeterTitle] [!RainmeterShowMeter MeterNoTitle][!RainmeterRedraw Winamper]
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterNoTitle] [!RainmeterShowMeter MeterTitle][!RainmeterRedraw Winamper]

[MeasureWADuration]
Measure=Calc
Formula=(MeasureWACurr<=0)?0:(MeasureWACurr/(MeasureWAFull*1000+1))

[MeasureWADurationI]
Measure=Calc
Formula=(MeasureWACurr<=0)?0:(MeasureWACurr/(MeasureWAFull*1000+1))
InvertMeasure=1

[MeasureWinampCurrOrg]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105

[MeasureWinampCurrMin]
Measure=Calc
Formula=((MeasureWinampCurrOrg / 1000) - ((MeasureWinampCurrOrg / 1000) % 60)) /60

[MeasureWinampCurrSec]
Measure=Calc
Formula=(MeasureWinampCurrOrg / 1000) % 60 = 60 ? 0 : (MeasureWinampCurrOrg / 1000) % 60

[MeasureWinampCurrZero]
Measure=Calc
Formula=(((MeasureWinampCurrOrg) / 1000) % 60) < 9 ? 0 : 1
Substitute="1":""

[MeasureWinampFullOrg]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 1 105

[MeasureWinampFullMin]
Measure=Calc
Formula=(MeasureWinampFullOrg - (MeasureWinampFullOrg % 60)) /60

[MeasureWinampFullSec]
Measure=Calc
Formula=MeasureWinampFullOrg % 60

[MeasureWinampFullZero]
Measure=Calc
Formula=(MeasureWinampFullOrg % 60) < 9 ? 0 : 1
Substitute="1":""

[MeasureWAPlaylistLength]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 124

[MeasureWACurrentTrackNumberFalse]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 120

[MeasureWACurrentTrackNumber]
Measure=Calc
Formula=(MeasureWACurrentTrackNumberFalse)+1

[MeasureWAVolume]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 -666 122

[MeasureVolumeBar]
Measure=calc
Formula=(MeasureWAVolume<=0)?0:(MeasureWAVolume/(255))

[MeasureHour]
Measure=Time
Format=%H

[MeasureMinute]
Measure=Time
Format=%M

[MeasureSecond]
Measure=Time
Format=%S

;METERS_________________________________________

[MeterBackGround]
Meter=IMAGE
X=0
Y=0
W=290
H=35
SolidColor=10,10,10, 221

[MeterNoTitle]
Meter=STRING
X=158
Y=2
W=100
H=1
FontColor=255, 255, 255, 180
StringStyle=NORMAL
FontSize=7
StringAlign=CENTER
FontFace=#FontName#
AntiAlias=0
Text="Winamp is niet gestart"
Hidden=1

[MeterTitle]
Meter=STRING
MeasureName=MeasureWA
X=158
Y=2
W=100
H=1
FontColor=255, 255, 255, 180
StringStyle=NORMAL
FontSize=7
StringAlign=CENTER
FontFace=#FontName#
AntiAlias=0

[MeterTimeFull]
Meter=STRING
MeasureName=MeasureWinampCurrMin
MeasureName2=MeasureWinampCurrSec
MeasureName3=MeasureWinampFullMin
MeasureName4=MeasureWinampFullSec
MeasureName5=MeasureWinampCurrZero
MeasureName6=MeasureWinampFullZero
X=280
Y=20
StringAlign=RIGHT
FontColor=255, 255, 255, 100
FontSize=7
FontFace=#FontName#
Text="%3:%6%4"

[MeterTimeCurr]
Meter=STRING
MeasureName=MeasureWinampCurrMin
MeasureName2=MeasureWinampCurrSec
MeasureName3=MeasureWinampFullMin
MeasureName4=MeasureWinampFullSec
MeasureName5=MeasureWinampCurrZero
MeasureName6=MeasureWinampFullZero
X=59
Y=20
StringAlign=RIGHT
FontColor=255, 255, 255, 100
StringStyle=NORMAL
FontSize=7
FontFace=#FontName#
Text="%1:%5%2"

[MeterWAProgress]
MeasureName=MeasureWADuration
Meter=BAR
X=35
Y=16
W=245
H=2
BarOrientation=HORIZONTAL
BarColor=45, 175, 190, 255
Flip=O

[MeterLine]
Meter=IMAGE
X=35
Y=16
W=245
H=2
SolidColor=255, 255, 255, 50

[MeterVolumeBar]
Meter=Image
X=22
Y=3
W=3
H=28
SolidColor=255, 255, 255, 80


[MeterTracks]
Meter=String
MeasureName=MeasureWACurrentTrackNumber
MeasureName2=MeasureWAPlaylistLength
X=158
Y=20
FontColor=255, 255, 255, 100
FontSize=7
StringAlign=CENTER
FontFace=#FontName#
AntiAlias=0
Text="Track: %1 van %2"

[MeterVolumeBarMeasure]
MeasureName=MeasureVolumeBar
Meter=Bar
X=22
Y=3
W=3
H=28
BarOrientation=VERTICAL
BarColor=45, 175, 190, 255
Flip=0

[MeterVolumeUP]
Meter=Image
X=22
Y=3
W=3
H=14
SolidColor=255, 255, 255, 0
LeftMouseDownAction=!Execute =[!RainmeterPluginBang "MeasureWA SendMessage 273 40058 0"]

[MeterVolumeDown]
Meter=Image
X=22
Y=17
W=3
H=14
SolidColor=255, 255, 255, 0
LeftMouseDownAction=!Execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40059 0"]

[MeterSpeaker]
Meter=STRING
X=0
Y=1
FontColor=45, 175, 190, 255
StringStyle=NORMAL
FontSize=25
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="X"
User avatar
Samus Aran
Posts: 86
Joined: August 7th, 2009, 11:23 pm

Re: Hide winamp skin from desktop

Post by Samus Aran »

Thank you very much! :)

Is it maybe possible to retrieve foobar's current volume level?
ManuDevil
Posts: 4
Joined: September 2nd, 2009, 7:21 am
Location: Lyon, France

Re: Hide winamp skin from desktop

Post by ManuDevil »

That is a good question : do you think this skin could work with Foobar ?
User avatar
Yelleke
Posts: 73
Joined: September 5th, 2009, 11:38 am
Location: Belgium

Re: Hide winamp skin from desktop

Post by Yelleke »

I don't know what foobar is, never used it.
I'm a registerd Winamp Pro user.

But if RM has a plugin for FB, I think you can alter the skin to work with FB.
ManuDevil
Posts: 4
Joined: September 2nd, 2009, 7:21 am
Location: Lyon, France

Re: Hide winamp skin from desktop

Post by ManuDevil »

Hmmm, not exactly. Foobar2000 has a plugin which can send and receive messages and commands, as it it was Winamp. So the main Winamp functions works for Foobar2000 too.

Foobar2000 is a lightweight but very powerful and customisable audio player. And it can easily manage very heavy playlists. On many points, it is better (no troll, it is just my opinion, no more) than Winamp. But it demands a little more time to configure it the way you want.
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Hide winamp skin from desktop

Post by Chewtoy »

Foobar
Main features
* Supported audio formats: MP3, MP4, AAC, CD Audio, WMA, Vorbis, FLAC, WavPack, WAV, AIFF, Musepack, Speex, AU, SND... and more with additional components.
* Gapless playback.
* Full unicode support.
* Easily customizable user interface layout.
* Advanced tagging capabilities.
* Support for ripping Audio CDs as well as transcoding all supported audio formats using the Converter component.
* Full ReplayGain support.
* Customizable keyboard shortcuts.
* Open component architecture allowing third-party developers to extend functionality of the player.
The best feature is the tab-playlist.
It's playlists in tabs, so you never have to reload a playlist, just swich tab.
It can also be modified in more ways than I have the time to explain. ^^


But anyway. Foobar does not have a own plugin. It has a plugin that makes it able to recive commands that winamp takes. It's like a trick-winamp.
I don't think, therefore I'm not.