So true...
![Thumbs Up :thumbup:](./images/smilies/ay.gif)
Of course. What I meant by "challenge" is more or less "argue with him over it in a civilized manner" - no negative implications.
Indeed.dvo wrote: ↑July 19th, 2021, 11:10 pm yess for weather skin jsMorley and a few others did the weather i can't recall all but a few did that job splendedly they revived the whole wheater section. and all other guys they gave the things they could add i love that every body is trying to pitch inn. i always say there are many ways to get to rome but how you did it it's your trip...
In the attached image there is the Change Color option. This brings up a palette for choosing a color. I would like to add a 'Change Font' option for choosing a font. Possible to do? -thxeclectic-tech wrote: ↑July 19th, 2021, 9:07 pm... Let us know if you have any questions or other ideas.![]()
More or less, yes, it's one of 2 ways you can go, as far as I'm aware of. The 2 ways are:MourningStar wrote: ↑July 19th, 2021, 11:50 pm ^
found this : https://forum.rainmeter.net/viewtopic.php?f=4&t=20041&p=107086&hilit=ContextFont#p107086
is studying this skin (ContextFont) a way to go or another?
Do you plan on including several fonts in your package? This would be possible, and recommended, so you could have them selected from the context menu (that is what 'Context Font' does).MourningStar wrote: ↑July 19th, 2021, 11:50 pm ^
found this : https://forum.rainmeter.net/viewtopic.php?f=4&t=20041&p=107086&hilit=ContextFont#p107086
is studying this skin (ContextFont) a way to go or another?
Nope. By the way, you don't have to proceed anymore for the 1st variant I mentioned...MourningStar wrote: ↑July 20th, 2021, 12:21 amHowever, this won't end up removing the text size scroll function?
Code: Select all
[Variables]
Font1=Tahoma
Font2=Arial
Font3=Consolas
Font=Tahoma
FontColor=5,199,252
;===================
;Translate Langauge
;===================
Low Tonight=Low Tonight
Feels Like=Feels Like
Humidity=Humidity
Sunrise=Sunrise
Sunset=Sunset
Visibility=Visibility
Wind=Wind
UV Index=UV Index
Code: Select all
[Metadata]
Name=BasicDualTemperature
Author=MourningStar
Co-Authors=zivallh, Yincognito, balala, eclectic-tech & Rainmeter Tutorial
Information=basic dual (C & F) text-only display temperature skin
Version=1.0
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,1
RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=Location: [@LocationName]
ContextAction=["https://weather.com/weather/today"]
ContextTitle2=Time: [@CurrentObservationTime] [@LocationTimezoneAbbreviation]
ContextAction2=[]
ContextTitle3=Edit Weather Variables
ContextAction3=["#@#WeatherComJSONVariables.inc"]
ContextTitle4="---"
ContextAction4=[]
ContextTitle5=Change Text Color
ContextAction5=["#@#Addons\RainRGB4.exe" "VarName=FontColor" "FileName=#@#Variables.inc"]
ContextTitle6="---"
ContextAction6=[]
ContextTitle7=Font: #Font1#
ContextAction7=[!WriteKeyValue Variables Font "#Font1#" "#@#Variables.inc"][!SetVariable Font "#Font1#"][!UpdateMeter *][!Redraw]
ContextTitle8=Font: #Font2#
ContextAction8=[!WriteKeyValue Variables Font "#Font2#" "#@#Variables.inc"][!SetVariable Font "#Font2#"][!UpdateMeter *][!Redraw]
ContextTitle9=Font: #Font3#
ContextAction9=[!WriteKeyValue Variables Font "#Font3#" "#@#Variables.inc"][!SetVariable Font "#Font3#"][!UpdateMeter *][!Redraw]
ContextTitle10="---"
ContextAction10=[]
ContextTitle11="More Actions >>"
ContextAction11=[!SkinMenu]
[Variables]
; Include weather settings and language variables
@Include1=#@#WeatherComJSONVariables.inc
@Include2=#@#WeatherComJSONMeasures.inc
@Include3=#@#Variables.inc
; Added 'Scale' variable used in the new mouse action bangs below
Scale=1.05
--------------------------------------------------------
[CurrentTemperatureF]
; Added to 'Times' group so it is enabled when the webparser finishes
Group=Times
Measure=Calc
Formula=(([@CurrentTemperature]*9/5)+32)
DynamicVariables=1
Disabled=1
[MeterTemperature]
MeasureName=@CurrentTemperature
MeasureName2=CurrentTemperatureF
;MeasureName2=@UnitsTemperature
Meter=String
X=(10*#Scale#)R
Y=(5*#Scale#)
FontFace=#Font#
FontSize=(55*#Scale#)
FontColor=#FontColor#
StringStyle=Normal
StringAlign=Left
StringEffect=Shadow
FontEffectColor=0,0,0,50
Antialias=1
DynamicVariables=1
Text=%1°C / %2°F
; Added to change the text size by scrolling the mouse wheel up or down
SolidColor=0,0,0,1
MouseScrollUpAction=[!SetVariable Scale (Clamp(#Scale#+0.05,0.1,3))][!WriteKeyValue Variables Scale (Clamp(#Scale#+0.1,0.1,3))][!UpdateMeter MeterTemperature][!Redraw]
MouseScrollDownAction=[!SetVariable Scale (Clamp(#Scale#-0.05,0.1,3))][!WriteKeyValue Variables Scale (Clamp(#Scale#+0.1,0.1,3))][!UpdateMeter MeterTemperature][!Redraw]
MiddleMouseUpAction=[!SetVariable Scale 1][!WriteKeyValue Variables Scale 1][!UpdateMeter MeterTemperature][!Redraw]
Code: Select all
Font4=Times New Roman
Code: Select all
ContextTitle10=Font: #Font4#
ContextAction10=[!WriteKeyValue Variables Font "#Font4#" "#@#Variables.inc"][!SetVariable Font "#Font4#"][!UpdateMeter *][!Redraw]