Scripting has a really annoying behaviour of reporting about perceived errors that aren't errors at all. Allow me to elaborate...
I have a central dump repository where files are transferred to in the first instance and then sorted according to their names. To do this sorting, I have a script file that I run on this collection of files. The problem is that, when parsing the script, XYplorer does not proactively take into account that the order of precedence should stem from a top-down approach.
Let me illustrate with an example. I have it so if a file has a string "abc" in it then it's moved into a folder called "ABC". However, I also would like for it to move a file with a string "123" in the name into a folder called "123". Those are not a problem when "abc" and "123" are not both in the name of a file. The hiccup arises when both are present. To handle this hiccup, I have the pattern match for "123" above that of "abc" in the script file, because I'd rather a file with both went to "123" than "ABC". The scripting engine, however, is not intelligent enough to comprehend that this was done on purpose. Yet 2 warning screens pop up for every instance where "abc" and "123" (the former changes frequently, the latter stays the same) are both present.
This behaviour is, while with the best intentions, is really undesirable, not in the least because of tediousness of clicking through the "error" screens. What's even more frustrating is that it actually does what it's supposed to i.e puts a file with "123" into "123" yet feels the need to warn me twice about it. While not a bug in the parsing of the script, it's an error in the "thinking" i.e the scripting engine doesn't say to itself: "This user put "123" above "abc", so it is more likely than not that he wants me to put file with "123" into "123" than "ABC" even though both are present. I'll be a clever engine and not disturb my user, because technically there is no problem".
Would you please be kind enough implement either a way to suppress warnings on a per-script basis or change the logic of how the top-down approach is interpreted by the scripting parser? I'll be very grateful
