Hey,
I’m trying to detect when TouchDesigner gets resized.
Not the panes, but the actual Windows Program.
Dose anyone know any way of getting this resolution?
Thanks,
/Anton
Hey,
I’m trying to detect when TouchDesigner gets resized.
Not the panes, but the actual Windows Program.
Dose anyone know any way of getting this resolution?
Thanks,
/Anton
Hi,
you can use the t-script command winplacement with the -w argument to retrieve size and position of the current window.
tscript -> winplacement -w
20 106 1515 1010
The returned values are:
x offset
y offset
width and
height
The origin of the coordinate system for these values is top/left.
Hope this helps
Markus
Thanks Markus! Exactly what I was looking for!