Have a script always active inside project

I'm building a LUA script, with a basic UI. I'd like this script to always be running when a project is open. In other words, I want my window to always be shown as long as I'm currently in a project.
My guess is that I want Resolve to run this script whenever a project is opened. I tried searching online but couldn't find any working solution. Any help is much appreciated !
My guess is that I want Resolve to run this script whenever a project is opened. I tried searching online but couldn't find any working solution. Any help is much appreciated !