Thank you mikeyww.
All is clear for me now. This is unfortunate that all #If directives must use same TitleMatchMode. I will have this in mind now. I think I will keep my original version with OR rather than Regex then.
Well, I thought copying all my keys definitions was not relevant to the issue.
For the next time, I will always try my tests in standalone files![Wink ;)]()
Thank you all for your help.
All is clear for me now. This is unfortunate that all #If directives must use same TitleMatchMode. I will have this in mind now. I think I will keep my original version with OR rather than Regex then.
The bottom line to this thread is that you posted a script that is not the script that you actually ran. A different script may yield different results!
Well, I thought copying all my keys definitions was not relevant to the issue.
For the next time, I will always try my tests in standalone files

Thank you all for your help.
Statistics: Posted by Youri11 — Today, 10:40