Hey, you asked if there was another way, and I answered you telling you there were a couple of ways. I can’t be held responsible if you don’t like" the answer.
Well, I suppose searching can be “hard” … and one man’s “viable” answer is sometimes too cumbersome, inconvenient, or incomprehensible for another.
There are several solutions, and I shared two of them with you (and you already know of a third). You didn’t ask for a “simple” solution, just if there was another way; How am I suppose to know what you will find “simple”?
I apologize if I sounded “all self-righteous about it”. Mea Culpa! It does appear that there is no solution you will find “simple”. Good luck with your project!