Git Product home page Git Product logo

maxhotkey-pd's Introduction

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)

maxhotkey-pd's People

Contributors

rvirmoors avatar growlerpig avatar

Stargazers

Serge Poltavski avatar Eric Lennartson avatar Zhao Shenyang avatar

Watchers

 avatar  avatar

maxhotkey-pd's Issues

Ctrl+W shortcut for closing windows doesn't work

Simply that.
The shortcut Ctrl+N to create a new window works, but Ctrl+W doesn't seem to work.
When using the shortcut, a [warp~] object was created. I deleted "w" from the maxhotkey.cfg key bindings and it still doesn't work.

I'm using pd 0.52-2 (vanilla) with no other plugins other than pd_deken.tcl (which comes with vanilla).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.