I hate to resurrect a long-dead post, but did you have any success with this? I'm attempting to do something similar and so far I haven't been able to accomplish the task completely. What I have so far is a combination of @Include to include a skin dynamically generated by a lua script through a FinishAction. I was just wondering if I was reinventing the wheel for no reason.
dreaken667 wrote:I hate to resurrect a long-dead post, but did you have any success with this? I'm attempting to do something similar and so far I haven't been able to accomplish the task completely. What I have so far is a combination of @Include to include a skin dynamically generated by a lua script through a FinishAction. I was just wondering if I was reinventing the wheel for no reason.
So it seems like I'm not the only one looking for this feature. Sadly, I haven't looked at this in a while -- I don't believe there's any new development on this since. I did entertain the idea of implementing this myself in C++ and lua since I do have knowledge of both languages.
Alas I never found the time to really dig into the rainmeter source and do this.
I haven't found a way to do this automatically when the skin is loaded, but I did manage to get it working with the press of a button and some outside assistance. Here are the highlights:
The basic gist is that the button runs the VBScript that fetches the web page which generates and updated INI that gets included in the skin, then the skin is refreshed. There is some superfluous stuff in the generated INI that I am using to group the meters so they can be toggled on and off, to split the meters into columns so they fit on the screen and to style the rows, making them more legible.
Now if I can figure out how to pass the value of a measure as a parameter to a ButtomCommand then I'll be golden.