It is currently April 28th, 2024, 10:21 am
Crypto Skins not working
-
- Posts: 517
- Joined: May 4th, 2020, 3:01 pm
- Location: Ankara, TURKEY
Re: Crypto Skins not working
I don't know where i going from here, but i promise it won't be boring...
-
- Posts: 1
- Joined: December 4th, 2023, 1:58 pm
Re: Crypto Skins not working
I've faced a similar issue with crypto skins. Have you tried checking the Rainmeter forums for troubleshooting? Sometimes it's about compatibility or updates. Also, for privacy in your crypto transactions, consider using tools like Crypto Mixer.
Last edited by eclectic-tech on April 5th, 2024, 11:21 am, edited 2 times in total.
Reason: Removed advertising link.
Reason: Removed advertising link.
-
- Posts: 3
- Joined: January 23rd, 2024, 8:51 pm
Re: Crypto Skins not working
Thank you for sharing.. Was trying to expand this to show 5 crypto tickers horizontally.. Is there any way to update the code to do so?
Tried to amend the code but not able to achieve it
You do not have the required permissions to view the files attached to this post.
-
- Posts: 3
- Joined: January 23rd, 2024, 8:51 pm
Re: Crypto Skins not working
My attempt at adding the 4th ticker...
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
[Variables]
;---------- TRADE SYMBOL ----------
;THE TRADE SYMBOL USED ON BINANCE CALLED A TICKER
TradeSymbol1=BTCUSDT
NumOfDecimalsDisplayedTrade1=2
TradeSymbol2=ETHUSDT
NumOfDecimalsDisplayedTrade3=2
TradeSymbol3=SOLUSDT
;NUM OF DECIMALS - DEFAULT VALUE: 2
NumOfDecimalsDisplayedTrade2=2
TradeSymbol4=OPUSDT
NumOfDecimalsDisplayedTrade4=2
;---------- SCALE ----------
ScaleValue=0.57
;---------- TEXT ----------
TextFace=Product Sans
TextCol=255,255,255
TextSize=24
TextSpacing=15
;---------- BACKGROUND ----------
;0-255: 255 Most visible - 0 Least Visible
BackgroundAlpha=0
BackgroundSizeW=300
BackgroundSizeH=100
;---------- PRICE ----------
;COLOUR USED IF PRICE IS UP FROM LAST PRICE
UpCol=0,255,0
;COLOUR USED IF PRICE IS DOWN FROM LAST PRICE
DownCol=255,0,0
;---------- ARROW ----------
;0=VISIBLE, 1=HIDDEN
ArrowEnabled=1
;THE SIZE OF THE ARROW
ArrowSize=25
;SPACING BETWEEN THE ARROW AND THE TRADESYMBOL LABEL
ArrowSpacing=15
;---------- PERCENTAGE CHANGE ----------
;0=VISIBLE, 1=HIDDEN
PercentageEnabled=0
;THE SIZE OF THE PERCENTAGE TEXT, BY DEFAULT HALF OF TEXT SIZE
PercentageTextSize=(#TextSize# * 0.5)
;---------- BINANCE API TRADESYMBOL 1 ----------
[MeasureBinancePriceData1]
Measure=WebParser
URL=https://api.binance.me/api/v3/ticker/24hr?symbol=#TradeSymbol1#
UpdateRate=62
RegExp=(?siU)"priceChangePercent":"(.*)","weightedAvgPrice":".*","prevClosePrice":".*","lastPrice":"(.*)"
OnConnectErrorAction=[!SetOption MeterPrice1 Text "Error obtaining data from binance!"]
[Measure24hrDifference1]
Measure=WebParser
URL=[MeasureBinancePriceData1]
StringIndex=1
IfMatch=-.*
IfMatchAction=[!SetOption MeterDifference1 FontColor #DownCol#]
IfNotMatchAction=[!SetOption MeterDifference1 FontColor #UpCol#]
OnConnectErrorAction=[!SetOption MeterPrice1 Text "Error obtaining data from binance!"]
;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{2})\d*":"\1"
[MeasurePrice1]
Measure=WebParser
URL=[MeasureBinancePriceData1]
StringIndex=2
IfAboveValue=#LastPriceTradeSymbol1#
IfAboveAction=[!SetOption MeterPrice1 FontColor #UpCol#][!SetOption MeterArrow1 ImageTint #UpCol#][!SetOption MeterPrice1 Text ""][!SetOption MeterArrow1 ImageRotate 180][!SetVariable LastPriceTradeSymbol1 [MeasurePrice1]]
IfBelowValue=#LastPriceTradeSymbol1#
IfBelowAction=[!SetOption MeterPrice1 FontColor #DownCol#][!SetOption MeterArrow1 ImageTint #DownCol#][!SetOption MeterPrice1 Text ""][!SetOption MeterArrow1 ImageRotate 0][!SetVariable LastPriceTradeSymbol1 [MeasurePrice1]]
DynamicVariables=1
OnConnectErrorAction=[!SetOption MeterPrice1 Text "Error obtaining data from binance!"]
;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{#NumOfDecimalsDisplayedTrade1#})\d*":"\1"
;---------- BINANCE API TRADESYMBOL 2 ----------
[MeasureBinancePriceData2]
Measure=WebParser
URL=https://api.binance.com/api/v3/ticker/24hr?symbol=#TradeSymbol2#
UpdateRate=62
RegExp=(?siU)"priceChangePercent":"(.*)","weightedAvgPrice":".*","prevClosePrice":".*","lastPrice":"(.*)"
OnConnectErrorAction=[!SetOption MeterPrice2 Text "Error obtaining data from binance!"]
[Measure24hrDifference2]
Measure=WebParser
URL=[MeasureBinancePriceData2]
StringIndex=1
IfMatch=-.*
IfMatchAction=[!SetOption MeterDifference2 FontColor #DownCol#]
IfNotMatchAction=[!SetOption MeterDifference2 FontColor #UpCol#]
OnConnectErrorAction=[!SetOption MeterPrice2 Text "Error obtaining data from binance!"]
;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{2})\d*":"\1"
[MeasurePrice2]
Measure=WebParser
URL=[MeasureBinancePriceData2]
StringIndex=2
IfAboveValue=#LastPriceTradeSymbol2#
IfAboveAction=[!SetOption MeterPrice2 FontColor #UpCol#][!SetOption MeterArrow2 ImageTint #UpCol#][!SetOption MeterPrice2 Text ""][!SetOption MeterArrow2 ImageRotate 180][!SetVariable LastPriceTradeSymbol2 [MeasurePrice2]]
IfBelowValue=#LastPriceTradeSymbol2#
IfBelowAction=[!SetOption MeterPrice2 FontColor #DownCol#][!SetOption MeterArrow2 ImageTint #DownCol#][!SetOption MeterPrice2 Text ""][!SetOption MeterArrow2 ImageRotate 0][!SetVariable LastPriceTradeSymbol2 [MeasurePrice2]]
DynamicVariables=1
OnConnectErrorAction=[!SetOption MeterPrice2 Text "Error obtaining data from binance!"]
;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{#NumOfDecimalsDisplayedTrade2#})\d*":"\1"
;---------- BINANCE API TRADESYMBOL 3 ----------
[MeasureBinancePriceData3]
Measure=WebParser
URL=https://api.binance.com/api/v3/ticker/24hr?symbol=#TradeSymbol3#
UpdateRate=62
RegExp=(?siU)"priceChangePercent":"(.*)","weightedAvgPrice":".*","prevClosePrice":".*","lastPrice":"(.*)"
OnConnectErrorAction=[!SetOption MeterPrice3 Text "Error obtaining data from binance!"]
[Measure24hrDifference3]
Measure=WebParser
URL=[MeasureBinancePriceData3]
StringIndex=1
IfMatch=-.*
IfMatchAction=[!SetOption MeterDifference3 FontColor #DownCol#]
IfNotMatchAction=[!SetOption MeterDifference3 FontColor #UpCol#]
OnConnectErrorAction=[!SetOption MeterPrice3 Text "Error obtaining data from binance!"]
;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{2})\d*":"\1"
[MeasurePrice3]
Measure=WebParser
URL=[MeasureBinancePriceData3]
StringIndex=2
IfAboveValue=#LastPriceTradeSymbol3#
IfAboveAction=[!SetOption MeterPrice3 FontColor #UpCol#][!SetOption MeterArrow3 ImageTint #UpCol#][!SetOption MeterPrice3 Text ""][!SetOption MeterArrow3 ImageRotate 180][!SetVariable LastPriceTradeSymbol3 [MeasurePrice3]]
IfBelowValue=#LastPriceTradeSymbol3#
IfBelowAction=[!SetOption MeterPrice3 FontColor #DownCol#][!SetOption MeterArrow3 ImageTint #DownCol#][!SetOption MeterPrice3 Text ""][!SetOption MeterArrow3 ImageRotate 0][!SetVariable LastPriceTradeSymbol3 [MeasurePrice3]]
DynamicVariables=1
OnConnectErrorAction=[!SetOption MeterPrice3 Text "Error obtaining data from binance!"]
;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{#NumOfDecimalsDisplayedTrade3#})\d*":"\1"
;---------- BINANCE API TRADESYMBOL 4 ----------
[MeasureBinancePriceData4]
Measure=WebParser
URL=https://api.binance.com/api/v3/ticker/24hr?symbol=#TradeSymbol4#
UpdateRate=62
RegExp=(?siU)"priceChangePercent":"(.*)","weightedAvgPrice":".*","prevClosePrice":".*","lastPrice":"(.*)"
OnConnectErrorAction=[!SetOption MeterPrice4 Text "Error obtaining data from binance!"]
[Measure24hrDifference4]
Measure=WebParser
URL=[MeasureBinancePriceData4]
StringIndex=1
IfMatch=-.*
IfMatchAction=[!SetOption MeterDifference4 FontColor #DownCol#]
IfNotMatchAction=[!SetOption MeterDifference4 FontColor #UpCol#]
OnConnectErrorAction=[!SetOption MeterPrice4 Text "Error obtaining data from binance!"]
;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{2})\d*":"\1"
[MeasurePrice4]
Measure=WebParser
URL=[MeasureBinancePriceData4]
StringIndex=2
IfAboveValue=#LastPriceTradeSymbol4#
IfAboveAction=[!SetOption MeterPrice4 FontColor #UpCol#][!SetOption MeterArrow4 ImageTint #UpCol#][!SetOption MeterPrice4 Text ""][!SetOption MeterArrow4 ImageRotate 180][!SetVariable LastPriceTradeSymbol4 [MeasurePrice4]]
IfBelowValue=#LastPriceTradeSymbol4#
IfBelowAction=[!SetOption MeterPrice4 FontColor #DownCol#][!SetOption MeterArrow4 ImageTint #DownCol#][!SetOption MeterPrice4 Text ""][!SetOption MeterArrow4 ImageRotate 0][!SetVariable LastPriceTradeSymbol4 [MeasurePrice4]]
DynamicVariables=1
OnConnectErrorAction=[!SetOption MeterPrice3 Text "Error obtaining data from binance!"]
;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{#NumOfDecimalsDisplayedTrade4#})\d*":"\1"
;---------- METER 1 ----------
[MeterBackground1]
Meter=Shape
Shape=Rectangle 0,0,(#BackgroundSizeW# * #ScaleValue#),(#BackgroundSizeH# * #ScaleValue#) | Fill Color 0,0,0,(#BackgroundAlpha#) | StrokeWidth 0
[MeterSymbolLabel1]
Meter=String
Text=#TradeSymbol1#
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
[MeterPrice1]
Meter=String
Text=Getting Price...
MeasureName=MeasurePrice1
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
FontWeight=700
DynamicVariables=1
Y=((#TextSize# * #ScaleValue#) + (#TextSpacing# * #ScaleValue#))
ClipString=1
W=(#BackgroundSizeW# * #ScaleValue#)
[MeterArrow1]
Meter=Image
ImageName=#@#Images\arrow.png
GreyScale=1
ImageTint=#TextCol#
DynamicVariables=1
X=([MeterSymbolLabel1:W] + (#ArrowSpacing# * #ScaleValue#))
Y=(([MeterSymbolLabel1:H] / 2) - ([MeterArrow1:H] / 2))
W=(#ArrowSize# * #ScaleValue#)
H=(#ArrowSize# * #ScaleValue#)
Hidden=#ArrowEnabled#
[MeterDifferenceLabel1]
Meter=String
DynamicVariables=1
Text=24hr Change:
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
Y=(((#TextSize# * #ScaleValue#)*2) + ((#TextSpacing# * #ScaleValue#) * 2))
Hidden=#PercentageEnabled#
Group=Meter1
[MeterDifference1]
Meter=String
DynamicVariables=1
MeasureName=Measure24hrDifference1
Text=%1%
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterDifferenceLabel1:W] + #TextSpacing#)
Y=(((#TextSize# * #ScaleValue#)*2) + ((#TextSpacing# * #ScaleValue#) * 2))
Hidden=#PercentageEnabled#
Group=Meter1
;---------- METER 2 ----------
[MeterBackground2]
Meter=Shape
Shape=Rectangle ([MeterBackground1:W] + #TextSpacing#),0,(#BackgroundSizeW# * #ScaleValue#),(#BackgroundSizeH# * #ScaleValue#) | Fill Color 0,0,0,(#BackgroundAlpha#) | StrokeWidth 0
[MeterSymbolLabel2]
DynamicVariables=1
Meter=String
Text=#TradeSymbol2#
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
X=([MeterBackground1:XW] + #TextSpacing#)
[MeterPrice2]
Meter=String
Text=Getting Price...
MeasureName=MeasurePrice2
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
FontWeight=700
NumOfDecimals=2
DynamicVariables=1
Y=((#TextSize# * #ScaleValue#) + (#TextSpacing# * #ScaleValue#))
X=([MeterSymbolLabel2:X])
ClipString=1
W=(#BackgroundSizeW# * #ScaleValue#)
[MeterArrow2]
Meter=Image
ImageName=#@#Images\arrow.png
GreyScale=1
ImageTint=#TextCol#
DynamicVariables=1
X=([MeterSymbolLabel2:XW] + (#ArrowSpacing# * #ScaleValue#))
Y=(([MeterSymbolLabel2:H] / 2) - ([MeterArrow2:H] / 2))
W=(#ArrowSize# * #ScaleValue#)
H=(#ArrowSize# * #ScaleValue#)
Hidden=#ArrowEnabled#
[MeterDifferenceLabel2]
Meter=String
DynamicVariables=1
Text=24hr Change:
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterPrice2:X])
Y=(((#TextSize# * #ScaleValue#)*2) + ((#TextSpacing# * #ScaleValue#) * 2))
Hidden=#PercentageEnabled#
[MeterDifference2]
Meter=String
DynamicVariables=1
MeasureName=Measure24hrDifference2
Text=%1%
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterDifferenceLabel2:XW] + #TextSpacing#)
Y=([MeterDifferenceLabel2:Y])
Hidden=#PercentageEnabled#
;---------- METER 3 ----------
[MeterBackground3]
Meter=Shape
Shape=Rectangle ([MeterBackground2:XW] + #TextSpacing#),0,(#BackgroundSizeW# * #ScaleValue#),(#BackgroundSizeH# * #ScaleValue#) | Fill Color 0,0,0,(#BackgroundAlpha#) | StrokeWidth 0
[MeterSymbolLabel3]
DynamicVariables=1
Meter=String
Text=#TradeSymbol3#
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
X=([MeterBackground2:XW] + #TextSpacing#)
[MeterPrice3]
Meter=String
Text=Getting Price...
MeasureName=MeasurePrice3
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
FontWeight=700
NumOfDecimals=2
DynamicVariables=1
Y=((#TextSize# * #ScaleValue#) + (#TextSpacing# * #ScaleValue#))
X=([MeterSymbolLabel3:X])
ClipString=1
W=(#BackgroundSizeW# * #ScaleValue#)
[MeterArrow3]
Meter=Image
ImageName=#@#Images\arrow.png
GreyScale=1
ImageTint=#TextCol#
DynamicVariables=1
X=([MeterSymbolLabel3:XW] + (#ArrowSpacing# * #ScaleValue#))
Y=(([MeterSymbolLabel3:H] / 2) - ([MeterArrow3:H] / 2))
W=(#ArrowSize# * #ScaleValue#)
H=(#ArrowSize# * #ScaleValue#)
Hidden=#ArrowEnabled#
[MeterDifferenceLabel3]
Meter=String
DynamicVariables=1
Text=24hr Change:
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterPrice3:X])
Y=(((#TextSize# * #ScaleValue#)*2) + ((#TextSpacing# * #ScaleValue#) * 2))
Hidden=#PercentageEnabled#
[MeterDifference3]
Meter=String
DynamicVariables=1
MeasureName=Measure24hrDifference3
Text=%1%
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterDifferenceLabel3:XW] + #TextSpacing#)
Y=([MeterDifferenceLabel3:Y])
Hidden=#PercentageEnabled#
;---------- METER 4 ----------
[MeterBackground4]
Meter=Shape
Shape=Rectangle ([MeterBackground2:XW] + #TextSpacing#),0,(#BackgroundSizeW# * #ScaleValue#),(#BackgroundSizeH# * #ScaleValue#) | Fill Color 0,0,0,(#BackgroundAlpha#) | StrokeWidth 0
[MeterSymbolLabel4]
DynamicVariables=1
Meter=String
Text=#TradeSymbol4#
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
X=([MeterBackground2:XW] + #TextSpacing#)
[MeterPrice4]
Meter=String
Text=Getting Price...
MeasureName=MeasurePrice4
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
FontWeight=700
NumOfDecimals=2
DynamicVariables=1
Y=((#TextSize# * #ScaleValue#) + (#TextSpacing# * #ScaleValue#))
X=([MeterSymbolLabel4:X])
ClipString=1
W=(#BackgroundSizeW# * #ScaleValue#)
[MeterArrow4]
Meter=Image
ImageName=#@#Images\arrow.png
GreyScale=1
ImageTint=#TextCol#
DynamicVariables=1
X=([MeterSymbolLabel4:XW] + (#ArrowSpacing# * #ScaleValue#))
Y=(([MeterSymbolLabel4:H] / 2) - ([MeterArrow4:H] / 2))
W=(#ArrowSize# * #ScaleValue#)
H=(#ArrowSize# * #ScaleValue#)
Hidden=#ArrowEnabled#
[MeterDifferenceLabel4]
Meter=String
DynamicVariables=1
Text=24hr Change:
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterPrice4:X])
Y=(((#TextSize# * #ScaleValue#)*2) + ((#TextSpacing# * #ScaleValue#) * 2))
Hidden=#PercentageEnabled#
[MeterDifference4]
Meter=String
DynamicVariables=1
MeasureName=Measure24hrDifference4
Text=%1%
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterDifferenceLabel4:XW] + #TextSpacing#)
Y=([MeterDifferenceLabel4:Y])
Hidden=#PercentageEnabled#
-
- Rainmeter Sage
- Posts: 5407
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Crypto Skins not working
Change [MeterBackground2:XW] to [MeterBackground3:XW] in these 2 meters.
Add DynamicVariables=1 to [MeterBackground4].
Add DynamicVariables=1 to [MeterBackground4].
;---------- METER 4 ----------
[MeterBackground4]
DynamicVariables=1
Meter=Shape
Shape=Rectangle ([MeterBackground3:XW] + #TextSpacing#),0,(#BackgroundSizeW# * #ScaleValue#),(#BackgroundSizeH# * #ScaleValue#) | Fill Color 0,0,0,(#BackgroundAlpha#) | StrokeWidth 0
[MeterSymbolLabel4]
DynamicVariables=1
Meter=String
Text=#TradeSymbol4#
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
X=([MeterBackground3:XW] + #TextSpacing#)
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 3
- Joined: January 23rd, 2024, 8:51 pm
Re: Crypto Skins not working
Thank you so much! It worked perfectly. Much appreciated!eclectic-tech wrote: ↑January 23rd, 2024, 9:19 pm Change [MeterBackground2:XW] to [MeterBackground3:XW] in these 2 meters.
Add DynamicVariables=1 to [MeterBackground4].
-
- Rainmeter Sage
- Posts: 5407
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Crypto Skins not working
Happy to help!
Those Section Variables set the X position of the new meter based on the X position and Width of the referenced meter.
For more about this see the manual: https://docs.rainmeter.net/manual/variables/section-variables/
Those Section Variables set the X position of the new meter based on the X position and Width of the referenced meter.
For more about this see the manual: https://docs.rainmeter.net/manual/variables/section-variables/
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::