how to find name of current patcher

Nov 22, 2008 at 10:32pm

how to find name of current patcher

hi everyone

how do you find the name of the patcher you’re working in? i can find the path with thispatcher but I can’t seem to find the name

#41005
Nov 23, 2008 at 2:26pm

not sure if there’s a standard object that will do this, but you could do it with a simple js object with the following script:

function bang()
{
outlet(0, this.patcher.name);
}

then just send a bang into the inlet of the js object

#145589

You must be logged in to reply to this topic.