Reaper script window position?

I’m trying to edit a script to always open the window in a specific position on the screen (Global Sampler). Usually I’ve done this with a combination of screen sets and project templates (works great to remember the positions of any FX or toolbars), but it doesn’t seem to work for that script. I don’t want it docked, but just to hover in a specific spot at the top. Any ideas? Thanks!