Ah, I see - sure thing. How else could anyone add further measures other than manually? Unless AI writes them or something, that is.
It is currently April 27th, 2024, 5:55 am
WebParser measure not being seen by IfCondition command
-
- Rainmeter Sage
- Posts: 7175
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: WebParser measure not being seen by IfCondition command
-
- Posts: 6
- Joined: September 16th, 2023, 11:40 am
Re: WebParser measure not being seen by IfCondition command
yes this might be the plan but as of now I will stick to hardcodeYincognito wrote: ↑September 16th, 2023, 8:13 pm I beg to differ. A list of characters / IDs surely exists somewhere on that site, and even if it's continuously changing, a single WebParser can be commanded to sequentially update and iterate through every ID in that list to get the desired ID data.
Sure, a bit of regex and some quantifiers would be needed if the list is a single string and not values that can be retrieved via StringIndex when interrogating for the list, but it's definitely possible, using dynamic variables in the URL used to get the data for an ID.
Basically, two WebParser parents (one for getting the ID list, one for getting the ID data) with the latter being dynamic should do. Even if Rainmeter is not a programming language, it can do a fair amount of what such a language does. When it doesn't, well, there is always Lua which can fill in the blanks. Not exactly a beginner job, of course, yet still achievable in a nearly automated fashion.
again thank you all
-
- Rainmeter Sage
- Posts: 7175
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: WebParser measure not being seen by IfCondition command
Sure thing, and you're welcome from my part.CoffeeBender wrote: ↑September 17th, 2023, 6:35 am yes this might be the plan but as of now I will stick to hardcode
again thank you all