I figure there's probably an easy way to handle this, I'm just new to rainmeter scripting so I could use a pointer or two. I am reading the battery status of a couple logitech devices using LGSTray - https://github.com/andyvorld/LGSTrayBattery - and apparently the device info isn't in a consistent order. Here's my two webparser readers.
The problem is that the device order can switch - my original order was with the mouse as dev0 and the kbd as dev1. How do I dynamically grab each of these and then use the correct one later in my script? Obviously I'll have to grab the device_name, not a big deal, but when I use it further along like this, I'm not sure how to do this correctly.