I wanted to test if an item was a folder or file to navigate to a children directory or open the file with the same left mouse action. I found at the end that there wasn't any need to code that way with IfMatch conditional structure.
I finally finished my skin thanks to you guys. You can check it out here https://forum.rainmeter.net/viewtopic.php?t=41394
It is now bugless, much more flawless, usable, and enhanced than the first version of first post