It is currently August 11th, 2020, 7:21 pm

Plugin: Chameleon

Plugins and Addons popular with the Community
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4072
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Plugin: Chameleon

Post by eclectic-tech »

itsfaketbh wrote: July 3rd, 2020, 8:55 am Okay, i changed the code and it crashed?Or something happened because everything on screen stoped responding and i had to restart the screengrab before restart is below.
After restart this is what the log shows:
Chameleon: Could not get handle on C:\Users\User\AppData\Roaming\Rainmeter\Layouts\may 17\Wallpaper.bmp
I am not sure what is causing the error.
I used your originally posted code, created a new skin in my illustra suite and it worked fine for me...
Click image to see animation
np1.gif
You specified Format=Dec in the parent chameleon measure, but did not for the others, so they return hex values.
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 21240
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Plugin: Chameleon

Post by jsmorley »

eclectic-tech wrote: July 3rd, 2020, 10:56 am I am not sure what is causing the error.
I used your originally posted code, created a new skin in my illustra suite and it worked fine for me...
Click image to see animation
np1.gif

You specified Format=Dec in the parent chameleon measure, but did not for the others, so they return hex values.
It would be of some interest to see what version of Chameleon the user has...



1.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4072
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Plugin: Chameleon

Post by eclectic-tech »

Yes, the ContextAwareColor option was added in the most recent version; I would hope that is not what is causing the crash. O.O
itsfaketbh
Posts: 12
Joined: July 2nd, 2020, 8:41 am

Re: Plugin: Chameleon

Post by itsfaketbh »

eclectic-tech wrote: July 3rd, 2020, 11:27 am Yes, the ContextAwareColor option was added in the most recent version; I would hope that is not what is causing the crash. O.O
i was reading the previous posts on here and i tried what you had suggested before i.e with Chameleon 1.5 so that it would not crash, i tried it and the player dissapeard but the skin is still active. I changed it back to Chameleon 1.6 and thats what i am using right now. Im not a tech person, so im verry sorry if im not making sense. If its possible can you explain to me how i can just remove the solid bg and only have the text and buttons? (or just make the gb transparent?)

Edit: Im adding the screengrab of the error its presenting
You do not have the required permissions to view the files attached to this post.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4072
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Plugin: Chameleon

Post by eclectic-tech »

itsfaketbh wrote: July 3rd, 2020, 12:02 pm i was reading the previous posts on here and i tried what you had suggested before i.e with Chameleon 1.5 so that it would not crash, i tried it and the player dissapeard but the skin is still active. I changed it back to Chameleon 1.6 and thats what i am using right now. Im not a tech person, so im verry sorry if im not making sense. If its possible can you explain to me how i can just remove the solid bg and only have the text and buttons? (or just make the gb transparent?)

Edit: Im adding the screengrab of the error its presenting
The original 'SpotifyControl' skin came with Chameleon V1.6.1 and worked for me.

I am not sure what you changed to cause the errors, but I would recommend re-installing the 'SpotifyControl' skin on your system AND check to re-install the Chameleon plugin (even though it is the same version).

I installed the original and made a few modifications to remove the cover image and added a new 'extend' for the background meter 'opt2' that sets a nearly invisible background color. The skin uses the cover image in [MeasureCover] to set item colors, removing it may have started your issues. Even though you do not show the cover in the variant below, the measure is needed to set colors.
np2.png
Save this code as 'SpotifyControl2.ini' in the same folder as the original skin. Refresh All in Rainmeter.
You will see both the original (w/cover) and this one (without cover and transparent bg).

Code: Select all

[Rainmeter]
Update=100
AccurateText=1
SkinWidth=(#SCALE#*300)
SkinHeight=(#SCALE#*420)
RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=Open Spotify
ContextAction=!Execute ["%userprofile%\AppData\Roaming\Spotify\spotify.exe"]
ContextTitle2=----
ContextAction2=[]
ContextTitle3=Smallest Skin Size (0.5)
ContextAction3=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005-0.5)"][!Refresh]
ContextTitle4=Smaller Skin Size (0.8)
ContextAction4=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005-0.2)"][!Refresh]
ContextTitle5=Normal Skin Size (1.0)
ContextAction5=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005)"][!Refresh]
ContextTitle6=Bigger Skin Size (1.2)
ContextAction6=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005+0.2)"][!Refresh]
ContextTitle7=Biggest Skin Size (1.5)
ContextAction7=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005+0.5)"][!Refresh]
ContextTitle8=----
ContextAction8=[]
ContextTitle9=Update Skin
ContextAction9=[!Refresh]
ContextTitle10=----
ContextAction10=[]
ContextTitle11=Open Rainmeter
ContextAction11=[!Manage]
ContextTitle12=Standard Context Menu
ContextAction12=[!SkinMenu]

[Metadata]
Name=Spotify Control
Author=fuckyeahlucas from DeviantART
Information=This skin is so minimal that no information is available. Sorry.
Version=4.3
License=Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
 
[Variables]
SCALE=1

[MeasureCover]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Cover
DefaultPath=#@#Images\Default.png
CoverPath=#@#Images\Cover.png

[CoverColor]
Measure=Plugin
Plugin=Chameleon
Type=File
Path=#@#Images\Cover.png
Format=Hex

[BackgroundColor]
Measure=Plugin
Plugin=Chameleon
Parent=CoverColor
Color=Background1

[Accent1]
Measure=Plugin
Plugin=Chameleon
Parent=CoverColor
Color=Foreground1

[Accent2]
Measure=Plugin
Plugin=Chameleon
Parent=CoverColor
Color=Foreground2
	
[MeasureState]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=State
IfCondition=MeasureState = 1
IfTrueAction=[!HideMeterGroup Top][!ShowMeterGroup Bottom]
IfCondition2=MeasureState = 2
IfTrueAction2=[!ShowMeterGroup Top][!HideMeterGroup Bottom]
IfCondition3=MeasureState = 0
IfTrueAction3=[!HideMeterGroup Top][!HideMeterGroup Bottom]
IfConditionMode=0
DynamicVariables=1

[MeasureArtist]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Artist

[MeasureAlbum]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Album

[MeasureTrack]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Title

[MeasureProgress]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Progress
Substitute="NaN":"1"
DynamicVariables=1

[MeasureCurrentPosition]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Position

[MeasureLength]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Duration

[MeterCoverPlay]
Meter=Image
ImageName=[MeasureCover]
X=0
Y=0
W=(#SCALE#*300)
H=(#SCALE#*300)
MaskImageName=#@#\Images\Mask.png
LeftMouseUpAction=!Execute ["%userprofile%\AppData\Roaming\Spotify\spotify.exe"]
AntiAlias=1
DynamicVariables=1
Group=Bottom

[MeterCoverPause]
Meter=Image
ImageName=[MeasureCover]
X=0
Y=0
W=(#SCALE#*300)
H=(#SCALE#*300)
MaskImageName=#@#\Images\Mask1.png
Greyscale=1
AntiAlias=1
DynamicVariables=1
Hidden=1
Group=Top
 
[BG]
Meter=Shape
Shape=Rectangle 0,(#SCALE#*300),(#SCALE#*300),(#SCALE#*120), 0 | Extend Opt
Opt=Fill Color [BackgroundColor] | StrokeWidth 0
AntiAlias=1
DynamicVariables=1
Group=Bottom

[MeterProgress]
Meter=Bar
MeasureName=MeasureProgress
BarColor=[Accent2]
SolidColor=[BackgroundColor]
BarOrientation=Horizontal
X=0
Y=(#SCALE#*300)
W=(#SCALE#*300)
H=(#SCALE#*10)
DynamicVariables=1
Group=Bottom
LeftMouseUpAction=[!CommandMeasure MeasureState "SetPosition $MouseX:%$"]

[Indicataor]
Meter=Shape
X=(#SCALE#*[MeasureProgress]/100*300-(#SCALE#*10))
Y=(#SCALE#*295)
Shape=Rectangle 0,0,(#SCALE#*20),(#SCALE#*20),90 | Extend MyModifiers1
MyModifiers1=Fill Color [Accent1] | StrokeWidth 0
DynamicVariables=1
Group=Bottom

[Appearance]
StringCase=None
StringStyle=Normal
StringEffect=None
FontColor=[Accent2]
FontFace=Google Sans Medium
AntiAlias=1

[MeterTitle]
Meter=String
MeasureName=MeasureTrack
StringAlign=Center
MeterStyle=Appearance
FontSize=(#SCALE#*18)
X=(#SCALE#*150)
Y=(#SCALE#*320)
ClipString=2
ClipStringW=(#SCALE#*290)
ClipStringH=(#SCALE#*40)
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[MeterArtistAlbum]
Meter=String
MeasureName=MeasureArtist
MeasureName2=MeasureAlbum
StringAlign=Center
MeterStyle=Appearance
StringStyle=Italic
FontSize=(#SCALE#*12)
X=(#SCALE#*150)
Y=(#SCALE#*354)
ClipString=2
ClipStringW=(#SCALE#*290)
ClipStringH=(#SCALE#*30)
UpdateDivider=2
DynamicVariables=1
Text=%1 • %2
Group=Bottom

[MeterCurrentPosition]
Meter=String
MeasureName=MeasureCurrentPosition
MeterStyle=Appearance
StringAlign=CenterCenter
FontSize=(#SCALE#*11)
X=(#SCALE#*60)
Y=(#SCALE#*398)
DynamicVariables=1
Group=Bottom

[Prev]
Meter=Shape
X=(#SCALE#*90)
Y=(#SCALE#*385)
Shape=Path Path1 | StrokeWidth 0 | Fill Color [Accent2] 
Shape2=Path Path2 | StrokeWidth 0 | Fill Color [Accent2] 
Shape3=Combine Shape1 | XOR Shape2
Path1=(#SCALE#*9), (#SCALE#*12) | LineTo (#SCALE#*24), (#SCALE#*3) | LineTo (#SCALE#*24), (#SCALE#*21) | LineTo (#SCALE#*9), (#SCALE#*12) | ClosePath 1
Path2=0, (#SCALE#*12) | LineTo (#SCALE#*13), (#SCALE#*20) | LineTo (#SCALE#*13), (#SCALE#*16.732) | LineTo (#SCALE#*5.112), (#SCALE#*12) | LineTo (#SCALE#*13), (#SCALE#*7.268) | LineTo (#SCALE#*13), (#SCALE#*4) | LineTo 0, (#SCALE#*12) | ClosePath 1
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Prev1]
Meter=String
X=(#SCALE#*90)
Y=(#SCALE#*380)
SolidColor=0,0,0,1
W=(#SCALE#*25)
H=(#SCALE#*35)
LeftMouseUpAction=[!CommandMeasure MeasureState "Previous"]
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Pause]
Meter=Shape
X=(#SCALE#*138)
Y=(#SCALE#*385)
Shape=Path Path1 | StrokeWidth 0 | Fill Color [Accent2] 
Shape2=Path Path2 | StrokeWidth 0 | Fill Color [Accent2]
Shape3=Combine Shape1 | XOR Shape2
Path1=(#SCALE#*10), (#SCALE#*24) | LineTo (#SCALE#*4), (#SCALE#*24) | LineTo (#SCALE#*4), 0 | LineTo (#SCALE#*10), 0 | LineTo (#SCALE#*10), (#SCALE#*24) | ClosePath 1
Path2=(#SCALE#*20), 0 | LineTo (#SCALE#*14), 0 | LineTo (#SCALE#*14), (#SCALE#*24) | LineTo (#SCALE#*20), (#SCALE#*24) | LineTo (#SCALE#*20), 0 | ClosePath 1
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Pause1]
Meter=String
X=(#SCALE#*138)
Y=(#SCALE#*380)
SolidColor=0,0,0,1
W=(#SCALE#*25)
H=(#SCALE#*35)
LeftMouseUpAction=[!CommandMeasure MeasureState "PlayPause"]
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Next]
Meter=Shape
X=(#SCALE#*186)
Y=(#SCALE#*385)
Shape=Path Path1 | StrokeWidth 0 | Fill Color [Accent2] 
Shape2=Path Path2 | StrokeWidth 0 | Fill Color [Accent2] 
Shape3=Combine Shape1 | XOR Shape2
Path1=0, (#SCALE#*21) | LineTo 0, (#SCALE#*3) | LineTo (#SCALE#*15), (#SCALE#*12) | LineTo 0, (#SCALE#*21) | ClosePath 1
Path2=(#SCALE#*11), (#SCALE#*4) | LineTo (#SCALE#*11), (#SCALE#*7.268) | LineTo (#SCALE#*18.888), (#SCALE#*12) | LineTo (#SCALE#*11), (#SCALE#*16.732) | LineTo (#SCALE#*11), (#SCALE#*20) | LineTo (#SCALE#*24), (#SCALE#*12) | LineTo (#SCALE#*11), (#SCALE#*4) | ClosePath 1
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Next1]
Meter=String
X=(#SCALE#*186)
Y=(#SCALE#*380)
SolidColor=0,0,0,1
W=(#SCALE#*25)
H=(#SCALE#*35)
LeftMouseUpAction=[!CommandMeasure MeasureState "Next"]
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[MeterLength]
Meter=String
MeasureName=MeasureLength
MeterStyle=Appearance
StringAlign=CenterCenter
FontSize=(#SCALE#*11)
X=(#SCALE#*240)
Y=(#SCALE#*398)
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[MeterBlurCover]
Meter=Image
ImageName=#@#\Images\Blur.png
ImageAlpha=100
X=0
Y=0
W=(#SCALE#*300)
H=(#SCALE#*300)
MaskImageName=#@#\Images\Mask1.png
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Top
ToolTipTitle=[MeasureTrack]
ToolTipText=[MeasureArtist]

[Play]
Meter=Shape
Shape=Ellipse (#SCALE#*150),(#SCALE#*150),(#SCALE#*55) | Fill Color 0,0,0,0 | StrokeWidth (#SCALE#*8) | StrokeColor 30,215,96,255
Shape2=Path Play | StrokeWidth 0 | Fill Color 30,215,96,255
Play=(#SCALE#*130),(#SCALE#*115) | LineTo (#SCALE#*190.6217783),(#SCALE#*150) | LineTo (#SCALE#*130),(#SCALE#*185) | ClosePath 1
LeftMouseUpAction=[!CommandMeasure MeasureState "PlayPause"]
AntiAlias=1
UpdateDivider=-1
DynamicVariables=1
Group=Top
I added a bang to the progress bar to let you change positions in the playback (tested okay with YouTube) I do not use Spotify, so it may not work, but also will not hurt. To change the background color, edit the RGBA value in Opt2 of the [BG] meter. :rosegift:
You do not have the required permissions to view the files attached to this post.
itsfaketbh
Posts: 12
Joined: July 2nd, 2020, 8:41 am

Re: Plugin: Chameleon

Post by itsfaketbh »

eclectic-tech wrote: July 3rd, 2020, 7:49 pm The original 'SpotifyControl' skin came with Chameleon V1.6.1 and worked for me.

I am not sure what you changed to cause the errors, but I would recommend re-installing the 'SpotifyControl' skin on your system AND check to re-install the Chameleon plugin (even though it is the same version).

I installed the original and made a few modifications to remove the cover image and added a new 'extend' for the background meter 'opt2' that sets a nearly invisible background color. The skin uses the cover image in [MeasureCover] to set item colors, removing it may have started your issues. Even though you do not show the cover in the variant below, the measure is needed to set colors.
np2.png

Save this code as 'SpotifyControl2.ini' in the same folder as the original skin. Refresh All in Rainmeter.
You will see both the original (w/cover) and this one (without cover and transparent bg).

Code: Select all

[Rainmeter]
Update=100
AccurateText=1
SkinWidth=(#SCALE#*300)
SkinHeight=(#SCALE#*420)
RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=Open Spotify
ContextAction=!Execute ["%userprofile%\AppData\Roaming\Spotify\spotify.exe"]
ContextTitle2=----
ContextAction2=[]
ContextTitle3=Smallest Skin Size (0.5)
ContextAction3=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005-0.5)"][!Refresh]
ContextTitle4=Smaller Skin Size (0.8)
ContextAction4=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005-0.2)"][!Refresh]
ContextTitle5=Normal Skin Size (1.0)
ContextAction5=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005)"][!Refresh]
ContextTitle6=Bigger Skin Size (1.2)
ContextAction6=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005+0.2)"][!Refresh]
ContextTitle7=Biggest Skin Size (1.5)
ContextAction7=[!WriteKeyValue Variables SCALE "(#SCREENAREAWIDTH#*0.0005+0.5)"][!Refresh]
ContextTitle8=----
ContextAction8=[]
ContextTitle9=Update Skin
ContextAction9=[!Refresh]
ContextTitle10=----
ContextAction10=[]
ContextTitle11=Open Rainmeter
ContextAction11=[!Manage]
ContextTitle12=Standard Context Menu
ContextAction12=[!SkinMenu]

[Metadata]
Name=Spotify Control
Author=fuckyeahlucas from DeviantART
Information=This skin is so minimal that no information is available. Sorry.
Version=4.3
License=Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
 
[Variables]
SCALE=1

[MeasureCover]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Cover
DefaultPath=#@#Images\Default.png
CoverPath=#@#Images\Cover.png

[CoverColor]
Measure=Plugin
Plugin=Chameleon
Type=File
Path=#@#Images\Cover.png
Format=Hex

[BackgroundColor]
Measure=Plugin
Plugin=Chameleon
Parent=CoverColor
Color=Background1

[Accent1]
Measure=Plugin
Plugin=Chameleon
Parent=CoverColor
Color=Foreground1

[Accent2]
Measure=Plugin
Plugin=Chameleon
Parent=CoverColor
Color=Foreground2
	
[MeasureState]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=State
IfCondition=MeasureState = 1
IfTrueAction=[!HideMeterGroup Top][!ShowMeterGroup Bottom]
IfCondition2=MeasureState = 2
IfTrueAction2=[!ShowMeterGroup Top][!HideMeterGroup Bottom]
IfCondition3=MeasureState = 0
IfTrueAction3=[!HideMeterGroup Top][!HideMeterGroup Bottom]
IfConditionMode=0
DynamicVariables=1

[MeasureArtist]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Artist

[MeasureAlbum]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Album

[MeasureTrack]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Title

[MeasureProgress]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Progress
Substitute="NaN":"1"
DynamicVariables=1

[MeasureCurrentPosition]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Position

[MeasureLength]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Duration

[MeterCoverPlay]
Meter=Image
ImageName=[MeasureCover]
X=0
Y=0
W=(#SCALE#*300)
H=(#SCALE#*300)
MaskImageName=#@#\Images\Mask.png
LeftMouseUpAction=!Execute ["%userprofile%\AppData\Roaming\Spotify\spotify.exe"]
AntiAlias=1
DynamicVariables=1
Group=Bottom

[MeterCoverPause]
Meter=Image
ImageName=[MeasureCover]
X=0
Y=0
W=(#SCALE#*300)
H=(#SCALE#*300)
MaskImageName=#@#\Images\Mask1.png
Greyscale=1
AntiAlias=1
DynamicVariables=1
Hidden=1
Group=Top
 
[BG]
Meter=Shape
Shape=Rectangle 0,(#SCALE#*300),(#SCALE#*300),(#SCALE#*120), 0 | Extend Opt
Opt=Fill Color [BackgroundColor] | StrokeWidth 0
AntiAlias=1
DynamicVariables=1
Group=Bottom

[MeterProgress]
Meter=Bar
MeasureName=MeasureProgress
BarColor=[Accent2]
SolidColor=[BackgroundColor]
BarOrientation=Horizontal
X=0
Y=(#SCALE#*300)
W=(#SCALE#*300)
H=(#SCALE#*10)
DynamicVariables=1
Group=Bottom
LeftMouseUpAction=[!CommandMeasure MeasureState "SetPosition $MouseX:%$"]

[Indicataor]
Meter=Shape
X=(#SCALE#*[MeasureProgress]/100*300-(#SCALE#*10))
Y=(#SCALE#*295)
Shape=Rectangle 0,0,(#SCALE#*20),(#SCALE#*20),90 | Extend MyModifiers1
MyModifiers1=Fill Color [Accent1] | StrokeWidth 0
DynamicVariables=1
Group=Bottom

[Appearance]
StringCase=None
StringStyle=Normal
StringEffect=None
FontColor=[Accent2]
FontFace=Google Sans Medium
AntiAlias=1

[MeterTitle]
Meter=String
MeasureName=MeasureTrack
StringAlign=Center
MeterStyle=Appearance
FontSize=(#SCALE#*18)
X=(#SCALE#*150)
Y=(#SCALE#*320)
ClipString=2
ClipStringW=(#SCALE#*290)
ClipStringH=(#SCALE#*40)
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[MeterArtistAlbum]
Meter=String
MeasureName=MeasureArtist
MeasureName2=MeasureAlbum
StringAlign=Center
MeterStyle=Appearance
StringStyle=Italic
FontSize=(#SCALE#*12)
X=(#SCALE#*150)
Y=(#SCALE#*354)
ClipString=2
ClipStringW=(#SCALE#*290)
ClipStringH=(#SCALE#*30)
UpdateDivider=2
DynamicVariables=1
Text=%1 • %2
Group=Bottom

[MeterCurrentPosition]
Meter=String
MeasureName=MeasureCurrentPosition
MeterStyle=Appearance
StringAlign=CenterCenter
FontSize=(#SCALE#*11)
X=(#SCALE#*60)
Y=(#SCALE#*398)
DynamicVariables=1
Group=Bottom

[Prev]
Meter=Shape
X=(#SCALE#*90)
Y=(#SCALE#*385)
Shape=Path Path1 | StrokeWidth 0 | Fill Color [Accent2] 
Shape2=Path Path2 | StrokeWidth 0 | Fill Color [Accent2] 
Shape3=Combine Shape1 | XOR Shape2
Path1=(#SCALE#*9), (#SCALE#*12) | LineTo (#SCALE#*24), (#SCALE#*3) | LineTo (#SCALE#*24), (#SCALE#*21) | LineTo (#SCALE#*9), (#SCALE#*12) | ClosePath 1
Path2=0, (#SCALE#*12) | LineTo (#SCALE#*13), (#SCALE#*20) | LineTo (#SCALE#*13), (#SCALE#*16.732) | LineTo (#SCALE#*5.112), (#SCALE#*12) | LineTo (#SCALE#*13), (#SCALE#*7.268) | LineTo (#SCALE#*13), (#SCALE#*4) | LineTo 0, (#SCALE#*12) | ClosePath 1
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Prev1]
Meter=String
X=(#SCALE#*90)
Y=(#SCALE#*380)
SolidColor=0,0,0,1
W=(#SCALE#*25)
H=(#SCALE#*35)
LeftMouseUpAction=[!CommandMeasure MeasureState "Previous"]
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Pause]
Meter=Shape
X=(#SCALE#*138)
Y=(#SCALE#*385)
Shape=Path Path1 | StrokeWidth 0 | Fill Color [Accent2] 
Shape2=Path Path2 | StrokeWidth 0 | Fill Color [Accent2]
Shape3=Combine Shape1 | XOR Shape2
Path1=(#SCALE#*10), (#SCALE#*24) | LineTo (#SCALE#*4), (#SCALE#*24) | LineTo (#SCALE#*4), 0 | LineTo (#SCALE#*10), 0 | LineTo (#SCALE#*10), (#SCALE#*24) | ClosePath 1
Path2=(#SCALE#*20), 0 | LineTo (#SCALE#*14), 0 | LineTo (#SCALE#*14), (#SCALE#*24) | LineTo (#SCALE#*20), (#SCALE#*24) | LineTo (#SCALE#*20), 0 | ClosePath 1
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Pause1]
Meter=String
X=(#SCALE#*138)
Y=(#SCALE#*380)
SolidColor=0,0,0,1
W=(#SCALE#*25)
H=(#SCALE#*35)
LeftMouseUpAction=[!CommandMeasure MeasureState "PlayPause"]
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Next]
Meter=Shape
X=(#SCALE#*186)
Y=(#SCALE#*385)
Shape=Path Path1 | StrokeWidth 0 | Fill Color [Accent2] 
Shape2=Path Path2 | StrokeWidth 0 | Fill Color [Accent2] 
Shape3=Combine Shape1 | XOR Shape2
Path1=0, (#SCALE#*21) | LineTo 0, (#SCALE#*3) | LineTo (#SCALE#*15), (#SCALE#*12) | LineTo 0, (#SCALE#*21) | ClosePath 1
Path2=(#SCALE#*11), (#SCALE#*4) | LineTo (#SCALE#*11), (#SCALE#*7.268) | LineTo (#SCALE#*18.888), (#SCALE#*12) | LineTo (#SCALE#*11), (#SCALE#*16.732) | LineTo (#SCALE#*11), (#SCALE#*20) | LineTo (#SCALE#*24), (#SCALE#*12) | LineTo (#SCALE#*11), (#SCALE#*4) | ClosePath 1
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[Next1]
Meter=String
X=(#SCALE#*186)
Y=(#SCALE#*380)
SolidColor=0,0,0,1
W=(#SCALE#*25)
H=(#SCALE#*35)
LeftMouseUpAction=[!CommandMeasure MeasureState "Next"]
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[MeterLength]
Meter=String
MeasureName=MeasureLength
MeterStyle=Appearance
StringAlign=CenterCenter
FontSize=(#SCALE#*11)
X=(#SCALE#*240)
Y=(#SCALE#*398)
UpdateDivider=2
DynamicVariables=1
Group=Bottom

[MeterBlurCover]
Meter=Image
ImageName=#@#\Images\Blur.png
ImageAlpha=100
X=0
Y=0
W=(#SCALE#*300)
H=(#SCALE#*300)
MaskImageName=#@#\Images\Mask1.png
AntiAlias=1
UpdateDivider=2
DynamicVariables=1
Group=Top
ToolTipTitle=[MeasureTrack]
ToolTipText=[MeasureArtist]

[Play]
Meter=Shape
Shape=Ellipse (#SCALE#*150),(#SCALE#*150),(#SCALE#*55) | Fill Color 0,0,0,0 | StrokeWidth (#SCALE#*8) | StrokeColor 30,215,96,255
Shape2=Path Play | StrokeWidth 0 | Fill Color 30,215,96,255
Play=(#SCALE#*130),(#SCALE#*115) | LineTo (#SCALE#*190.6217783),(#SCALE#*150) | LineTo (#SCALE#*130),(#SCALE#*185) | ClosePath 1
LeftMouseUpAction=[!CommandMeasure MeasureState "PlayPause"]
AntiAlias=1
UpdateDivider=-1
DynamicVariables=1
Group=Top
I added a bang to the progress bar to let you change positions in the playback (tested okay with YouTube) I do not use Spotify, so it may not work, but also will not hurt. To change the background color, edit the RGBA value in Opt2 of the [BG] meter. :rosegift:
thank you very much for the help, i think i found (?) the error.
Chameleon: Could not get handle on C:\Users\User\AppData\Roaming\Rainmeter\Layouts\may 17\Wallpaper.bmp
the problem is that i *dont have a layout like that*
heres a screengrab of my layouts, i dont know why its looking for a layout that does not exist. I tried reinstall everything including all skins and rainmeter but its still the same. Is there a folder that keeps old layouts?maybe its there and i have not deleted?
You do not have the required permissions to view the files attached to this post.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4072
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Plugin: Chameleon

Post by eclectic-tech »

itsfaketbh wrote: July 4th, 2020, 7:08 am thank you very much for the help, i think i found (?) the error.
Chameleon: Could not get handle on C:\Users\User\AppData\Roaming\Rainmeter\Layouts\may 17\Wallpaper.bmp
the problem is that i *dont have a layout like that*
heres a screengrab of my layouts, i dont know why its looking for a layout that does not exist. I tried reinstall everything including all skins and rainmeter but its still the same. Is there a folder that keeps old layouts?maybe its there and i have not deleted?
Are you sure that folder doesn't exist?
The list you posted shows the current Layouts (a prearranged collection of individual skins) and you may have deleted it from that list.

You need to understand the structure of Rainmeter by referring to the manual sections on Installing skins and Managing Rainmeter.

Forget about Layouts for now, Rainmeter saves the current layout when you exit or shutdown; it is not necessary to create a layout, unless you want a different arrangements, of sets of skins, that you can load later.

The steps I described above should get you a working copy of the original SKIN, and a alternate version with no cover and an invisible background.

Sorry I can not do more...
itsfaketbh
Posts: 12
Joined: July 2nd, 2020, 8:41 am

Re: Plugin: Chameleon

Post by itsfaketbh »

eclectic-tech wrote: July 4th, 2020, 4:40 pm Are you sure that folder doesn't exist?
The list you posted shows the current Layouts (a prearranged collection of individual skins) and you may have deleted it from that list.

You need to understand the structure of Rainmeter by referring to the manual sections on Installing skins and Managing Rainmeter.

Forget about Layouts for now, Rainmeter saves the current layout when you exit or shutdown; it is not necessary to create a layout, unless you want a different arrangements, of sets of skins, that you can load later.

The steps I described above should get you a working copy of the original SKIN, and a alternate version with no cover and an invisible background.

Sorry I can not do more...
Yeah,thank you for helping me, i did everything you said but its not showing up.The skin is loaded but does not appear. I will try to figure it out.Thank you!
itsfaketbh
Posts: 12
Joined: July 2nd, 2020, 8:41 am

Re: Plugin: Chameleon

Post by itsfaketbh »

eclectic-tech wrote: July 4th, 2020, 4:40 pm Are you sure that folder doesn't exist?
The list you posted shows the current Layouts (a prearranged collection of individual skins) and you may have deleted it from that list.

You need to understand the structure of Rainmeter by referring to the manual sections on Installing skins and Managing Rainmeter.

Forget about Layouts for now, Rainmeter saves the current layout when you exit or shutdown; it is not necessary to create a layout, unless you want a different arrangements, of sets of skins, that you can load later.

The steps I described above should get you a working copy of the original SKIN, and a alternate version with no cover and an invisible background.

Sorry I can not do more...
okay, so i must be doing something wrong because i copied the code and made the SpotifyControl2 , but the code is the same? So the player looks exactly the same? Im sorry for causing trouble TT
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4072
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Plugin: Chameleon

Post by eclectic-tech »

itsfaketbh wrote: July 5th, 2020, 12:08 pm okay, so i must be doing something wrong because i copied the code and made the SpotifyControl2 , but the code is the same? So the player looks exactly the same? Im sorry for causing trouble TT
It's no trouble, but since I cannot duplicate your issue, it is difficult to keep suggesting changes that may not work for you.

If you re-installed the skin AND told the installer to re-install the plugins, even though they were the same version, you should have a working skin and my code would give you controls with a transparent background and no cover image.

Changing the Chameleon measure to use 'Desktop' is usually a straightforward process as long as you have a wallpaper image and not solid colors.

So I hope you can figure out what is happening. :)