On 8/28/25 14:14, Yogi data wrote:
Hello,
Is there a way to show gui of a pd instance that was launched with -nogui option ?
send a "vis" message to Pd¹. the vis message takes the base path to your Pd(-GUI) installation.
since this can be different for each system, you can use something like this to dynamically get the right path:
[symbol ../tcl/pd-gui.tcl(
|
[file which]
|
[symbol $1/../..(
|
[file normalize]
|
[vis $1(
|
[s pd]
if you provide no argument (e.g. [; pd vis(), the GUI will be closed.
(i think the interface is a bit ugly, and we should be able to simply do [; pd vis 1(, resp [; pd vis 0(; but that's just syntactic sugar)
gfmasdr IOhannes
¹ you have to provide your own means to send that message to Pd, once it is running headless. Pd provides plenty of ways to do that.