Get patcher name and insert it into a message box within the patcher?
I'm trying to insert the name of a patcher I am working on into a message box within the patcher itself. Is there some easy way to do this?
do you mean the name of the file or the scripting name?
i use this as it gets scripting name if there is one
outlets=1;
function bang()
{
if(this.patcher.box){
outlet(0, this.patcher.box.varname);
}
else if(this.patcher){
outlet(0, this.patcher.name);
}
}