The goal is a highlighted circle when a link with no info to light up.
I am starting to thing this is one of those longhanded efforts rather than some elegant shorthanded inde, But I am asking to avoid banging my head on this. (it is sore already and i havent started yet).
Sorry, but me personally definitely didn't understand what is your intention, however I may say that the IfConditions have to be ENTIERLY numeric. This means you can't use an IfCondition to test if a measure is empty or not (assuming [ProcessText] and [CentreTextLow] are measures - or they are meters? - not sure at this point). To work with strings (for instance to check if a measure or variable is empty), you have to use IfMatch options.
So, for first please offer us a few details on how your skin should work, along with a code or a package of your config (especially if the skin uses resources, which we need).
balala wrote: ↑June 22nd, 2022, 7:19 am
Sorry, but me personally definitely didn't understand what is your intention, however I may say that the IfConditions have to be ENTIERLY numeric. This means you can't use an IfCondition to test if a measure is empty or not (assuming [ProcessText] and [CentreTextLow] are measures - or they are meters? - not sure at this point). To work with strings (for instance to check if a measure or variable is empty), you have to use IfMatch options.
So, for first please offer us a few details on how your skin should work, along with a code or a package of your config (especially if the skin uses resources, which we need).
CodeCode wrote: ↑June 22nd, 2022, 7:48 am
Here is cone code that should serve to make things more obvious.
There are a few issues here:
[ProcessText] and [CentreTextLow] are meters, as i supposed. You can't check if they are empty, this makes no sense. Measures can be compared, meters can't. A meter has no value, even if it shows something.
The IfMatch option of the [mIsEmptyString] is wrong. When working with IfMatch, you don't have to add the name of the measure (supposing it would be a measure, not a meter, as this time), as you do with IfCondition. IfMatch compares ONLY the string value of the measure in which it is used. Accordingly the IfMatch=(ProcessText = "") || (CentreTextLow ="") option wouldn't work, not even if the [ProcessText] and [CentreTextLow] was two measures (even less if they are meters, as said above).
I see what the [CentreTextLow] meter should show, this being controlled by the bangs of the MouseOverAction and MouseLeaveAction options of the [Low17] meter, but the [ProcessText] meter seems to show always an empty string (at least based on the posted code). So, the first part of the IfMatch option of the [mIsEmptyString] measure (this one: IfMatch=(ProcessText = "")...) would be always true (especially if it could work).
I probably would tend to set the image to be shown into the MouseOverAction and MouseLeaveAction options of the [Low17] meter (so to show one image when you're hovering the mouse over the meter and show another, or maybe even better to hide the meter, when you1re leaving it).
One more: you can't set an ImageName to a measure (of any type). Such a setting has been done by the IfMatchAction option of the [mIsEmptyString] measure (IfMatchAction=[!SetOption #CURRENTSECTION# ImageName "Clicky"][!Update]). [mIsEmptyString] is a measure, it doesn't have / admit an ImageName - this option belongs to Image meters. If used on the [mIsEmptyString] measure, #CURRENTSECTION# is mIsEmptyString.
However my main goal is that the got the Text17Link from an image value - that seems to only thing I can test to get my desired reult since there is a alot of thing goin on in the whole skin. I don't imagine an overarchin g was for string measures and strienf meters
I looked onto different built in variables and didnt get a clear enough picture from those 2 pages.
So i imagine Text17Image.png will persistently show if the corresponding =#variable# are actualy evaluated. Is there a w ay to test the empty string straight up or with some finesse?
The idea was to test in activate of automatically thing it would be pretty cool for button, if somehow a string measure could be used to allow a match discern that either by using a calc or other measure along with the string measure so that conditions or matches could be used to show maintain that image until a text variable has a value -which would be entirelt manual - this is basically an "image button" idea. That is way I was overthingkingg it.
This code as written above, works only with the [Low17] meter (when hovering and leaving this one). There probably will be needed to properly modify the Formula option, to take into account what the [CentreTextLow] meter should show, but since that part of the code has not been posted, I can't tell exactly how should you deal with it. But hope you got the idea. If you didn't, please post the whole code, to can give a proper advice.