I have a skin which includes a search bar, but when i click on the meter to run it, and put my mouse over the text box, the script detects it as the mouse going off the screen, and it closes the skin. Code stuff:
Code:
[Rainmeter]Update=5000BackgroundMode=2SolidColor=0,0,0,1DynamicWindowSize=1MouseLeaveAction=[!DeactivateConfig "MD3 Windows\menu" "startmenu-lightv2.ini"]Logging=0SkinPath=C:\Users\user\Documents\Rainmeter\Skins\[Variables]@include1=#@#Variables.inc@include2=#@#MusicVariables.inc@Include3=#@#WeatherComJSONVariables.inc@Include4=#@#WeatherComJSONMeasures.inc@Include5=#@#WVariables.inc@include6=#@#Lshared.inc@include7=#@#Bvariables.incScale=0.7Fade=0Speed=20Action=[!UpdateMeasure "MeasureFade"][!UpdateMeter *][!Redraw]ImagePath=#@#Images\SA Suite;Hiphopium;SA Suite...other code stuff that isn't relevant...[SearchBox]Meter=ShapeShape=Rectangle 240,10,250,60,30 | StrokeWidth 0 | FIllColor [&MeterialYou:GetToken("Primary")]StringAlign=CenterCenterAntiAlias=1DynamicVariables=1LeftMouseUpAction=[!CommandMeasure "MeasureSearchInput" "ExecuteBatch 1-2"][MeasureSearchInput]Measure=PluginPlugin=InputTextX=310Y=27W=160H=30SolidColor=[&MeterialYou:GetToken("Primary")]FontColor=[&MeterialYou:GetToken("OnPrimary")]FontFace=Google Sans MediumFontSize=15AntiAlias=1FocusDismiss=1DynamicVariables=1Command1=$UserInput$Command2=["https://www.google.com/search?q=[MeasureSearchInput:EncodeURL]"][SearchText]Meter=StringFontColor=[&MeterialYou:GetToken("OnPrimary")]FontFace=Google Sans MediumFontSize=15X=390Y=40Text="Search This PC"StringAlign=CenterCenterDynamicVariables=1AntiAlias=1[MetersearchbaseIcon]Meter=ImageImageName=#@#base2.pngImageTint=[&MeterialYou:GetToken("OnPrimaryContainer")]W=65H=65X=240Y=8StringAlign=CenterCenterAntiAlias=1DynamicVariables=1[MeterSearchImage]Meter=ImageImageName=#@#Skin Icons/Search Icon.pngImageTint=[&MeterialYou:GetToken("OnPrimary")]W=25H=25X=260Y=28DynamicVariables=1...more nonrelevant code
Statistics: Posted by banana — Today, 3:11 am