[PD] Get current screen resolution?

Luke Iannini lukexipd at gmail.com
Sat Aug 23 08:06:15 CEST 2008

Got it!

[query winfo screenwidth .( and [query winfo screenheight .(

does the trick, FYI.

On Fri, Aug 22, 2008 at 9:17 PM, Luke Iannini <lukexipd at gmail.com> wrote:
> Anyone have an idea to get a reading of the current screen resolution?
>  I searched the whole Pd SVN text contents to no avail...
> I'm trying to center Pd subpatch windows in the screen (using
> [relocate( messages) to use as dialog boxes.
> Cheers
> Luke

More information about the Pd-list mailing list