Mor3bane wrote:I am a bit fuzzy on the definition of "config" in this context. Is that referencing a meter under the path and NOT the .ini as you indicated with the red colour?
The Config is the path of the folder which contains the .ini file,
starting from the Skins folder. Eg, if your skin file is
Skins\Round Arcane\Puzzles\Puzzle_1.ini, then the config is
Round Arcane\Puzzles. Details:
https://docs.rainmeter.net/manual/skins/#Config
Mor3bane wrote:I would like the position of the current "main"/parent skin to determine the position of the specific meter of the second skin.
Then replace the !SetVariable bangs of the OnChangeAction option of the [MeasureMainXY] measure with something like it follows:
Code: Select all
[MeasureMainXY]
Measure=Calc
Formula=( #CURRENTCONFIGX# + #CURRENTCONFIGY# )
OnChangeAction=[!SetOption MovingMeter X "#CURRENTCONFIGX#" "Round Arcane\Puzzles"][!SetOption MovingMeter Y "#CURRENTCONFIGY#" "Round Arcane\Puzzles"][!UpdateMeter "Round Arcane\Puzzles"][!Redraw "Round Arcane\Puzzles"]
DynamicVariables=1
To be honest a such operation (moving a meter based on the position of a skin), is weird, but finally it's not impossible. Just take care to replace the second parameter of the above !SetOption bangs, with the name of the meter you'd like to move.
Mor3bane wrote:I think I will stick to !SetVariable, since it seems to involve less rewriting of that variable should movement be frequent.
What solution do you choose, it's entirely up to you, or more precisely, up to what you'd like to achieve.
Mor3bane wrote:So I understand that my syntax is wrong, but still not seeing clearly how the "config" reference works if it is used correctly.
Since at a moment, one single skin can be loaded from a config (folder), we're not referring to the loaded skin, but to the config (folder) which contains the loaded skin. It's so simple.