[PD] new patch position on windows xp

Martin Peach martin.peach at sympatico.ca
Tue Jun 1 19:00:30 CEST 2010


Lorenzo wrote:
> Alas, I must use Windows Xp as well... Anyway I have switched since 
> about two months to having the taskbar at the top of the screen, meaning 
> that when I create a new patch it is placed at absolute 0,0 "absolute" 
> with the title-bar behind the taskbar (even with "always on top" 
> option). Any tcl/tk guru know of a hack in the pd.tk file to have the 
> new windows positioned at 0,0 "relative" to the taskbar or alternatively 
> just sligtly offset down?

If it's Pd -extended, around line 395 of pd.tk:

wm title . "Pd-extended"
# initial location of Pd window (+x+y)
wm geometry . +20+70

I imagine that changing +20+70 would move the window.

Martin





More information about the Pd-list mailing list