Reposition Viewer w/ Python

Hello fellow TD users.

I’ve been messing about with the openViewer function in the OP class. I’m wondering if there’s a way to set the position of the content viewer window programmatically. Currently it seems to want to open where ever my mouse happens to be.

Thanks in advance!
-d

Hmmmm… I don’t know if you can position viewers via python. If I’m making a UI for a client I’ll usually use the window COMP for pop up windows or drop down menus. If you look in the Gal or TUIK UI libraries you’ll see the same approach.

Thanks for the suggestion friend. Just had a look at the window COMP. Looks like it will do exactly what I’m looking for. Don’t know how I missed it in the docs. :blush:
Luckily I’m not really building anything for a client. Just a personal project that I’ve been tinkering with while I’m in tech. Hopefully it will amount to something helpful someday.

Thanks again!