[PD] "new from template" plugin

Hans-Christoph Steiner hans at at.or.at
Wed Sep 21 07:26:56 CEST 2011


pob came up with this idea in #dataflow, and I couldn't resist
implementing it.  It seems like a good idea.

This plugin inserts a menu item to the File menu called "New from
template".
When you select this menu item, it creates a new patch from the
template.pd
file that is included in this plugin.  You can modify the template.pd
however
you want and it'll use it.

Also, you can set the default folder that it creates the new patch in by
replacing this line:

    variable defaultfolder [file join $::env(HOME) Documents]

with something like:

    variable defaultfolder /path/to/my/favorite/folder


Enjoy!

.hc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new-from-template-plugin.zip
Type: application/zip
Size: 31200 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110921/0f584c81/attachment-0001.zip>


More information about the Pd-list mailing list