I’m looking for a convenient way to “group” text styles. I have three different text styles I need to look for. Each style contains at least different color sets, to be able to find the text no matter if the text is unselected, selected or marked. In this case, I do not need to know in which state (style) the text is, I just need to know if it is on screen at all…
Can I keep it as simple, if I want to pass the text as parameter instead? Or (as I would need to remove it from the style_list) do I need to take a different approach?
You surely can indeedy use multiple text definitions in most of the Eggplant commands. Since the *Any Eggplant command (waitforany, etc) are depreciated with use of lists for the same non-any commands. See the release notes for 4.x. I might suggest reading from top to bottom the release notes for Eggplant, they are chocked full of good simple explanations and also tell of some best use at the same time.