Skip to content

RVirmoors/maxhotkey-pd

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

maxhotkey-pd

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.

included

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.

installing

  1. Download and copy maxhotkey-plugin.tcl to a folder in Pd's path, like Documents/Pd/externals. See Help > Find externals > Preferences to find your exact paths.

  2. Run Pure Data, and the shortcuts should now work!


why not Purr Data?

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.

known issues

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)

About

Pure Data plugin implementing Max-like key&mouse shortcuts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages