Exactly. Lucas "read my mind"... this seemed like a timing issue to me and I would have also suggested trying after ##. I usually begin with 100 ms as 10 may be too quick on some systems.

On Sep 10, 2022, at 10:47 AM, pd-list-request@lists.iem.at wrote:

Message: 4
Date: Sat, 10 Sep 2022 10:47:17 +0200
From: rolfm@dds.nl
To: Lucas Cordiviola <lucarda27@hotmail.com>
Cc: Pd list <pd-list@lists.iem.at>
Subject: Re: [PD] mypdwindow-plugin not working in Windows 11
Message-ID: <fb196e621807c41f4c88f54a535edeea@dds.nl>
Content-Type: text/plain; charset="us-ascii"

@lucas 

top! 

rolf 

Lucas Cordiviola schreef op 09-09-2022 16:08:

this: 

~~~ 

if {[winfo exists .pdwindow]} {
after 10 wm geometry .pdwindow "500x600+0+0"
} 

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com