Hy guys,
Lets say that I have a windows PC connected to two monitors.
I would like for the SuperCollider GUI windows I’ve created with my code to appear on the second monitor instead of the primary one.
Initially I thought to write a sort of translation in Rect
bounds coordinates but, from the moment I should place negative coords for the x coord (secondary monitor is indeed on the left of the primary) it seems not to work for me.
- Is there a way to tell SuperCollider
Windows
to appear on a specific monitor? - Is there a way to make the window be created but not to be shown in front but to stay in background? I’ve tested the
alwaysOnTop_(false)
method but it doesn’t work the way I want. - Alternatively, is there a way to place the window outside the screen borders?
here’s just a boiled code I’ve prepared with a couple of comments:
(
var win;
win = Window("test", Rect(-50,0,100, 100)); // negative values fox x seems not to work
win.alwaysOnTop_(false); // this doesn't seem to place the window on background
win.front;
win.minimize; // seems not to work if uses just after .front method.
)
If the windows variable had been an environment variable I could have called .minimize
after a certain interval to make it work (and correctly minimize the window). But that’s not my use case.
~win = nil;
(
~win = Window("test", Rect(0,0,100, 100)); // negative values fox x seems not to work
~win.front;
)
~win.minimize; // evaluate this line after a little time delay
Thank you guys.