I propose a measure that gives you information back about a meter / skin. It will give back the position of skin / meter and all that other information.
So something like
[SkinMeasure]
Measure=SkinInfo
Meter=MyMeter
GetX=1
SkinMeasure would now return the position of MyMeter.
This could applied to all of the properties of a skin or meter.
Would anyone find this useful at all?
It is currently May 4th, 2024, 11:03 am
The Meter Measure
-
- Developer
- Posts: 98
- Joined: August 6th, 2009, 3:03 pm
-
- Posts: 10
- Joined: February 21st, 2010, 5:31 am
Re: The Meter Measure
That would be awesome, along those lines you could check of course a few things such as SnapEdges and SavePosition would probably be useless in really any situation but things like WindowX WindowY and Active would be amazing to have...
Active
WindowX
WindowY
SnapEdges
AlphaValue
FadeDuration
ClickThrough
Draggable
HideOnMouseOver
SavePosition
KeepOnScreen
AlwaysOnTop
AutoSelectScreen
Active
WindowX
WindowY
SnapEdges
AlphaValue
FadeDuration
ClickThrough
Draggable
HideOnMouseOver
SavePosition
KeepOnScreen
AlwaysOnTop
AutoSelectScreen
-
- Rainmeter Sage
- Posts: 642
- Joined: July 19th, 2009, 5:59 am
- Location: Montreal, QC, Canada
Re: The Meter Measure
I like it. One suggestion might be to use something like "Parameter=X" instead of "GetX=1". That way you can just go and search for that specific paramenter instead of needing a key for each one.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: The Meter Measure
It's a conundrum though. Today Rainmeter does not allow duplicate "Keys" in a single meter, as it breaks standard .ini rules. So it might take some doing to allowAlex2539 wrote:I like it. One suggestion might be to use something like "Parameter=X" instead of "GetX=1". That way you can just go and search for that specific paramenter instead of needing a key for each one.
Parameter=WindowX
Parameter=Draggable
So we can either have a Key for each thing we want to return, like WindowX= and Draggable= or the user would need a measure for each item...
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: The Meter Measure
Guess we could do
Parameter1=WindowX
Parameter2=Draggable
Parameter1=WindowX
Parameter2=Draggable
-
- Rainmeter Sage
- Posts: 642
- Joined: July 19th, 2009, 5:59 am
- Location: Montreal, QC, Canada
Re: The Meter Measure
The user would need a separate measure for each item anyways. Consider this: you have this hypothetical meter measure and meter reading it:
Which value would OtherMeter show? X or Y? While it's certainly not feasible to have multiple parameter keys in a single meter, returning multiple values isn't either. Even if an index system akin to the one seen in WebParser were implemented, you would need exactly as many extra measures to show the information.
Code: Select all
[SkinMeasure]
Measure=SkinInfo
Meter=MyMeter
GetX=1
GetY=1
[OtherMeter]
Meter=String
MeasureName=SkinMeasure
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: The Meter Measure
That's true. %1, %2 could work in a string meter, but not really anywhere else. So it's one measure per item you want, and SkinSetting=xxxx makes sense. (Not sure I would use "Parameter" myself, it's pretty generic, but it would work ok)Alex2539 wrote:The user would need a separate measure for each item anyways. Consider this: you have this hypothetical meter measure and meter reading it:Which value would OtherMeter show? X or Y? While it's certainly not feasible to have multiple parameter keys in a single meter, returning multiple values isn't either. Even if an index system akin to the one seen in WebParser were implemented, you would need exactly as many extra measures to show the information.Code: Select all
[SkinMeasure] Measure=SkinInfo Meter=MyMeter GetX=1 GetY=1 [OtherMeter] Meter=String MeasureName=SkinMeasure
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: The Meter Measure
By the way, if we are getting a lot of this stuff from the same info as Rainmeter.ini is provided, it might be at the "Config" level, not the "Skin" level.
-
- Developer
- Posts: 98
- Joined: August 6th, 2009, 3:03 pm
Re: The Meter Measure
Code: Select all
[SkinMeasure]
Measure=SkinInfo
Meter=MyMeter
[OtherMeter]
Meter=String
MeasureName=SkinMeasure[SomeProperty]
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: The Meter Measure
That would be a hot approach.MattKing wrote:OR something like that, so you don't have to a billion measures, that might be a fundamental change, I'll look into it sometime.Code: Select all
[SkinMeasure] Measure=SkinInfo Meter=MyMeter [OtherMeter] Meter=String MeasureName=SkinMeasure[SomeProperty]