aboutsummaryrefslogtreecommitdiff
path: root/set_custom_stored_histories-plugin.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'set_custom_stored_histories-plugin.tcl')
-rw-r--r--set_custom_stored_histories-plugin.tcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/set_custom_stored_histories-plugin.tcl b/set_custom_stored_histories-plugin.tcl
new file mode 100644
index 0000000..1389374
--- /dev/null
+++ b/set_custom_stored_histories-plugin.tcl
@@ -0,0 +1,6 @@
+# you can preset the histories of various things like the Tcl entry box in the
+# Pd window and the messages in the Message dialog. They are lists of messages
+# in order of newness, so the newest item is at the end of the list.
+
+set ::pdwindow::tclentry_history {"menu_message_dialog" "console hide" "console show"}
+set ::dialog_message::message_history {"pd dsp 1" "pd dsp 0" "my very custom message"}