aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Iannini <lukeiannini@users.sourceforge.net>2008-05-15 08:55:25 +0000
committerLuke Iannini <lukeiannini@users.sourceforge.net>2008-05-15 08:55:25 +0000
commit7e3f3bbef327d13b22e7627447316c1fc754380f (patch)
tree851239ea5f03bb0cb1842fde1cc214977bef850c
parentd8da3b1dcf2f2cfeff53071b390a0e5d9e36b05b (diff)
implemented savebang idea from HCS
svn path=/trunk/abstractions/senderfruit/; revision=9806
-rw-r--r--core/savebang-help.pd9
-rw-r--r--core/savebang.pd11
2 files changed, 20 insertions, 0 deletions
diff --git a/core/savebang-help.pd b/core/savebang-help.pd
new file mode 100644
index 0000000..bd3bca7
--- /dev/null
+++ b/core/savebang-help.pd
@@ -0,0 +1,9 @@
+#N canvas 976 723 373 150 10;
+#X obj 102 90 savebang;
+#X obj 102 116 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X text 8 8 [savebang] outputs a bang when its containing patch is
+saved. The bang is output before the file is saved \, making it useful
+for clearing temporary data. Original idea by Hans-Christoph Steiner
+\; requires [tot];
+#X connect 0 0 1 0;
diff --git a/core/savebang.pd b/core/savebang.pd
new file mode 100644
index 0000000..3d19f33
--- /dev/null
+++ b/core/savebang.pd
@@ -0,0 +1,11 @@
+#N canvas 736 201 223 185 10;
+#X msg 26 47 capture 1;
+#X obj 68 97 route menusave;
+#X obj 26 21 loadbang;
+#X obj 26 73 tot .parent;
+#X obj 68 122 outlet;
+#X text 25 155 Idea by hans-christoph steiner;
+#X connect 0 0 3 0;
+#X connect 1 0 4 0;
+#X connect 2 0 0 0;
+#X connect 3 2 1 0;