Screen resolution / floating window position
Hi !
I have a floating windows position set for a particular screen resolution, and I want to keep that relative position when the screen resolution change...
I made a manual solution, with menu and proportional values, but I'm trying to figure out if there is an automatic way to do that ?! Is it possible to get the Live window size or screen resolution ?
Thanks !
jit.displays lets you query the screen resolutionand even change .
or [screensize]. and at least one of them will report automatically after the system settings changed.
Nice thanks !!
And is it possible to get the Live windows dimensions ?
I would like to make a floating window that follow the Live window
I don't think so. Check the LOM (Live Object Model) documentation and search for terms like "resolution" or "window".
Hi ! I'm digging up this topic because I got a question related to my floating window.
If I got 2 monitors or more, can I select the screen I want my floating window on ?
- I got a "notitle" floating window,
- I can move it in my main monitor by entering coordinates (but I can't move it to my external monitor),
- I would like to keep the actual coordinates of my floating window but move it from my main monitor to my external monitor by selecting the "active screen".
Is there a message, I didn't find, to send to [thispatcher] ?
there is only one virtual screen space for window positions, and position and size messages to thispatcher work completely independent from the real screenspace; you can not only move a window across monitors, you can also position windows outside the space of the monitors.
unless i am overlooking possible trouble with OSX 10.15 or later - or with live - you should be able to simply build a "monitor selection" by using the position messages.
to "switch" the monitor, just move the window to the left for the 1* the horizontal screensize.
Have you checked [jit.displays]? It can give you the coords for every connected screen.