The skin is supposed to accept a password, and thus using the created password be able to "unlock" your desktop. However, no matter how many times I tried, even using a simple password as "test" the skin would not "unlock". However, using "1234" the skin would unlock each and every time. I checked the .ini, and tried to understand how it works, and came with the conclusion that, "1234" IS the password, and directly built into the code, thus negating the purpose of creating a password in the first place.
Code: Select all
[Rainmeter]
Author=theAzack9
Update=1000
OnWakeAction=[!ShowFade]
OnRefreshAction=[!KeepOnScreen "0"][!Move 0 0][!Draggable "0"]
[Metadata]
Name=LockScreen
Version=1.0.0
Information=
License=Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported
[Variables]
Password=test
DistanceLockInput=20
ShakeX = 0
FontSize=18
[BlurBehind]
Measure=Plugin
Plugin=FrostedGlass
UpdateDivider=-1
;Default=1 Determines if the blur is enabled or not
BlurEnabled=1
[MeterBlurredBackground]
Meter=Image
SolidColor=0,0,0,1
W=#VSCREENAREAWIDTH#
H=#SCREENAREAHEIGHT#
RightMouseUpAction=[]
MouseActionCursorName=..\..\..\..\..\..\..\..\Windows\Cursors\aero_arrow.cur
[ShakeAnim]
Measure=Plugin
Plugin=ActionTimer
ActionList1=Wait 1|Repeat MoveLeft, 20, 3 | Wait 1 | Repeat MoveRight, 20, 6 | Wait 1 | Repeat MoveLeft, 20, 3
MoveLeft = [!SetVariable "ShakeX" "(CLAMP(#ShakeX# - 4, -10, 10))"][!Update][!Redraw]
MoveRight = [!SetVariable "ShakeX" "(CLAMP(#ShakeX# + 4, -10, 10))"][!Update][!Redraw]
ActionList2=Wait 500|OpenPasswordSetter
OpenPasswordSetter=[!CommandMeasure MeasureInput "ExecuteBatch 2"]
DynamicVariables=1
[MeterLock]
Meter=Image
ImageName=#@#lock-icon
W=256
H=256
X=(#PWORKAREAWIDTH# / 2 - [MeterLock:W] / 2 + #ShakeX#)
Y=([MeterBlurredBackground:H] / 2 - [MeterLock:H] / 2 - [InputBar:H] / 2 - #DistanceLockInput#)
DynamicVariables=1
LeftMouseUpAction=[!CommandMeasure MeasureInput "ExecuteBatch 1"]
[InputBar]
Meter=Image
SolidColor=230, 230, 230
X=([MeterLock:X])
Y=([MeterLock:Y] + [MeterLock:H] + #DistanceLockInput#)
W=256
H=30
DynamicVariables=1
LeftMouseUpAction=[!CommandMeasure MeasureInput "ExecuteBatch 1"]
[MeasureInput]
Measure=Plugin
Plugin=InputText
SolidColor=230,230,230
FontColor=0,0,0
FontFace=Seqoe UI
AntiAlias=1
FontSize=#FontSize#
X= ([InputBar:X] + 5)
Y=( [InputBar:Y])
H= [InputBar:H]
W= ([InputBar:W] - 10)
Command1=[!UpdateMeasure "MeasureInput"][!SetVariable "inputPass" "$UserInput$"][!UpdateMeasure "PasswordSetter"]
Command2=[!WriteKeyValue "Variables" "Password" "$UserInput$"][!HideFade][Refresh] DefaultValue="Create password" Password=0
TopMost=1
UpdateDivider=-1
IfMatch=(?=^1234$)(?=^[^\s]+$)
IfMatchAction=[!HideFade] [!UpdateMeasure MeasureInput][!SetVariable "Open" "1"]
IfNotMatchAction=
DynamicVariables=1
Password=1
FocusDismiss=0
OnDismissAction=[!UpdateMeasure PasswordSetter]
[PasswordSetter]
Measure=String
String=#Password#
IfMatch=^\s*$
IfMatchAction=[!CommandMeasure ShakeAnim "Execute 2"]
IfMatch2=(?=^#inputPass#$)
IfNotMatchAction2=[!CommandMeasure ShakeAnim "Execute 1"]
IfMatchMode=1
DynamicVariables=1
UpdateDivider=-1
It may be incredibly rude towards the author of the skin, but can anyone attempt to clarify this? Is there something that can be done to fix this?
Thank you for your time.