diff options
author | N.N. <g_roma@users.sourceforge.net> | 2004-08-31 22:11:49 +0000 |
---|---|---|
committer | N.N. <g_roma@users.sourceforge.net> | 2004-08-31 22:11:49 +0000 |
commit | d516fa59986400af12882f7e6406df60ce201005 (patch) | |
tree | 27cec8f19e857d78b40edabbb46d7830d35d3a7a /packages/darwin_app/mkdocs | |
parent | f44fcf8d3333336fe61dcb6f5305165a710720b0 (diff) |
macosx style app
svn path=/trunk/; revision=1987
Diffstat (limited to 'packages/darwin_app/mkdocs')
-rwxr-xr-x | packages/darwin_app/mkdocs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/darwin_app/mkdocs b/packages/darwin_app/mkdocs new file mode 100755 index 00000000..111b0a36 --- /dev/null +++ b/packages/darwin_app/mkdocs @@ -0,0 +1,34 @@ +#!/bin/bash +dir=`basename "$1"` +y=0 +count=0 + +echo "#N canvas 200 22 300 500 10;" + +for eachitem in $1/*.pd +do + let count=$count+1 +done + +let y=$count*25+50 + +echo "#N canvas 0 22 454 304 opendoc 0;" +echo "#X obj 35 66 symbol;" +echo "#X obj 34 38 inlet;" +echo "#X msg 35 90 \; pd open \\\$1 ../lib/pd/doc/$dir/ \;;" +echo "#X connect 0 0 2 0;" +echo "#X connect 1 0 0 0;" +echo "#X restore 50 $y pd opendoc;" + +count=0 + +for eachitem in $1/*.pd +do + name=`basename $eachitem` + let y=25+$count*25 + msg="#X msg 50 $y $name;" + let count=$count+1 + con="#X connect $count 0 0 0;" + echo $msg + echo $con +done |