Is it possible to script the plugins’ UI position?
Everything possible in GP Script can be seen in the function list.
The relevant function is under the “Plugins” section:
SetPluginEditorXYPosition : Open a plugin editor and set its position on screen
- Declaration: function SetPluginEditorXYPosition (p : Block, x : integer, y : integer) autotype
1 Like
I’m coming back to this thread as I’ve played with this a little, and found some limitations:
- The
XYPositionfunction doesn’t appear to support multiple monitors. Is there a way to use this to define positions on multiple monitors? - Perhaps more frustrating, the editor windows don’t remember their positions from launch to launch, and sometimes even from the opening of the editor to the next. This is extremely annoying. I’ve commented out all
XYPositioncode, and it still does it. Is this a known issue; related to multiple monitors maybe, or something else?