HELP - Start macro automatically

Guys, I have some automations that run on different Chrome profiles.
With a .bat file you can open all these profiles and manually open the side panel and play the macro.
But is there a way to play automatically? Through the .BAT file, for example?

I tried to see it through ChatGPT, but I was very confused and couldn’t execute it.

You can not open the side panel via command line. Chrome security requires a button click to open the side panel. But you can run the macros in the regular IDE.

Have you seen these sample scripts? Do they work for you?

I tried, but I couldn’t understand it well.

I can even open the Chrome profile I want, and with the link I can open the macro, but when I put everything in the .BAT file it doesn’t work. It appears that it replaces the %20 of the space with ‘0’ and fails.