Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 449

Skin Height Dynamic Adjustment as per Taskbar Visibility

$
0
0
I found this recycle bin skin from mond and I wanna use it in my bottom right corner of the screen. I use adaptive hide taskbar so taskbar hides whenever hot hovered over. The issue is this is causing my skin to overlap with the taskbar until focused on taskbar by clicking on it once. So, I was wondering if there is a way I could detect when the taskbar is visible and adjust the height of the skin dynamically. Here is the skin code:

Code:

[Rainmeter]Update=1000Author=Connect-RBackgroundMode=2SolidColor=0,0,0,1DynamicWindowSize=1AccurateText=1MouseScrollUpAction=[!SetVariable Scale "(#Scale#+#ScrollMouseIncrement#)"][!WriteKeyValue Variables Scale "(#Scale#+#ScrollMouseIncrement#)"][!Refresh] MouseScrollDownAction=[!SetVariable Scale "(#Scale#-#ScrollMouseIncrement# < 0.2 ? 0.2 : #Scale#-#ScrollMouseIncrement#)"][!WriteKeyValue Variables Scale "(#Scale#-#ScrollMouseIncrement# < 0.2 ? 0.2 : #Scale#-#ScrollMouseIncrement#)"][!Refresh] [Variables]@include=#@#Variables.inc@include2=#@#Language\#Language#.incScale=0.3;-------------------------------------------------------------;-------------------------------------------------------------[MeasureRecycleBin]Measure=PluginPlugin=RecycleManager.dllDrives=ALLRecycleType=COUNT[MeasureRecycleBinSize]Measure=PluginPlugin=RecycleManager.dllDrives=ALLRecycleType=SIZE[MeasureRecycleBinAction]Measure=CalcFormula=MeasureRecycleBinIfAboveAction=[!RainmeterHideMeter MeterIconEmpty][!RainmeterShowMeter MeterIconFull]IfAboveValue=0IfEqualAction=[!RainmeterHideMeter MeterIconFull][!RainmeterShowMeter MeterIconEmpty]IfEqualValue=0;-------------------------------------------------------------;-------------------------------------------------------------[MeterRecycleBinText]Meter=StringStringAlign=RightStringCase=UpperFontFace=QuicksandFontColor=#TextColor#FontSize=(40*#Scale#)X=(650*#Scale#)Y=(0*#Scale#)Text="#Recycle Bin#"AntiAlias=1;-------------------------------------------------------------;-------------------------------------------------------------[MeterRecycleBinInfoText]Meter=StringMeasureName=MeasureRecycleBinMeasureName2=MeasureRecycleBinSizeStringAlign=RightStringCase=UpperFontFace=AquaticoFontColor=#TextColor#FontSize=(27*#Scale#)X=(650*#Scale#)Y=(0*#Scale#)RText="#Files# %1 #CRLF# #Size# %2B"AntiAlias=1Autoscale=1Percentual=0 NumOfDecimals=0;-------------------------------------------------------------;-------------------------------------------------------------[MeterIconEmpty]Meter=ImageImageName=#@#Empty.pngX=(650*#Scale#)Y=(0*#Scale#)W=(180*#Scale#)AntiAlias=1ImageTint=143, 151, 121LeftMouseDownAction=[!HideMeter MeterIconEmpty][!ShowMeter MeterIconEmptyActive][!Redraw]RightMouseDownAction=[!HideMeter MeterIconEmpty][!ShowMeter MeterIconEmptyActive][!Redraw][MeterIconEmptyActive]Meter=ImageImageName=#@#Empty.pngX=(650*#Scale#)Y=(0*#Scale#)rW=(180*#Scale#)AntiAlias=1Hidden=1ImageTint=#ButtonColor#LeftMouseUpAction=[!PluginBang "MeasureRecycleBin OpenBin"][!HideMeter MeterIconEmptyActive][!ShowMeter MeterIconEmpty][!Redraw]RightMouseUpAction=[!PluginBang "MeasureRecycleBin EmptyBin"][!HideMeter MeterIconEmptyActive][!ShowMeter MeterIconEmpty][!Redraw][MeterIconFull]Meter=ImageImageName=#@#Full.pngX=(650*#Scale#)Y=(0*#Scale#)rW=(180*#Scale#)AntiAlias=1Hidden=1ImageTint=#ButtonColor#LeftMouseDownAction=[!HideMeter MeterIconFull][!ShowMeter MeterIconFullActive][!Redraw]RightMouseDownAction=[!HideMeter MeterIconFull][!ShowMeter MeterIconFullActive][!Redraw][MeterIconFullActive]Meter=ImageImageName=#@#Full.pngX=(650*#Scale#)Y=(0*#Scale#)rW=(180*#Scale#)AntiAlias=1Hidden=1ImageTint=#ButtonColor#LeftMouseUpAction=[!PluginBang "MeasureRecycleBin OpenBin"][!HideMeter MeterIconFullActive][!ShowMeter MeterIconFull][!Redraw]RightMouseUpAction=[!PluginBang "MeasureRecycleBin EmptyBin"][!HideMeter MeterIconFullActive][!ShowMeter MeterIconFull][!Redraw]

This is what I mean when I say overlapping of skin and taskbar


Do I need to install separate plugins and stuff or are there in built commands in Rainmeter for taskbar visibility detection ?
:)

Statistics: Posted by BlackChadhar — Yesterday, 6:59 pm — Replies 1 — Views 29



Viewing all articles
Browse latest Browse all 449

Trending Articles