Pure Data plugin implementing Max-like key&mouse shortcuts & UI behaviour.
Tested on Pd vanilla 0.52 win x64.
Made possible by Monetus, Seb Shader and others on the Pd forum.
command | action | done |
---|---|---|
ctrl+click on canvas | toggle edit mode | ✅ |
alt+click | open help patch | ✅ |
ctrl+M | console (Pd window) | ✅ |
ctrl+I | inspector (Properties popup) | ✅ |
double-click | new object | ✅ |
typing into object box | hide cursor | ✅ |
N | new object | ✅ |
M | message | ✅ |
B | bang | ✅ |
I, F | number | ✅ |
T | toggle | ✅ |
C | comment | ✅ |
enter | apply object | ✅ |
alt+drag | duplicate | ❌ |
ctrl+shift+Y | arrange | ❌ |
(replace ctrl with cmd and alt with option for OSX)
I started this as a complete tcl/tk newbie, so the hard stuff (❌) will take a while to implement. Any contributions are welcome!
All the key bindings (including some not present in Max) are under the set keybindings
line in maxhotkey.cfg
. Feel free to modify them to suit your needs.
-
Download and copy
maxhotkey-plugin.tcl
to a folder in Pd's path, likeDocuments/Pd/externals
. See Help > Find externals > Preferences to find your exact paths. -
Run Pure Data, and the shortcuts should now work!
Purr Data, Pd-L2Ork, PlugData, Camomile et al are wonderful forks that bring Pd into the 21th century. Unfortunately that means they use different rendering systems, so these tcl scripts won't apply to them. For now I'm focussing on Pd vanilla, but if someone wants to replicate this work for one of the Pd forks, that would be super nice.
Adding the PD AutoComplete Plugin breaks these hotkeys. For now, a quick fix is to add
pdtk_text_editing_old $mytoplevel $tag $editing
at the end of the pdtk_text_editing
proc in completion-plugin.tcl (line 691)