I'm just getting started with scripting for after effects. I'm wondering if there is a way for a palette to always open centered on a users monitor when they run the script. So far all I can find is setting the position using "bound" in the window constructor function.
I would highly advise against this but you would would need to query the size of the monitor (and check to make sure there isn't more than one) and then manually set it to the center. But again, this is hacky coding and bad UX design.