How to turn a spare MIDI device into a Sketch shortcut machine

Chris Grain
Aug 18, 2018 · 5 min read
Image for post
Image for post
Image for post
Image for post
Aligning various icons with MIDI shortcuts.
Image for post
Image for post
Using a MIDI shortcut to resize artboard height.

The MIDI device

Image for post
Image for post
Any MIDI device can be used to make shortcuts in Sketch

Set up the device

Image for post
Image for post
Signal input from MIDI device.

Add new shortcuts

Image for post
Image for post
Image for post
Image for post
An empty shortcut for Sketch.
Image for post
Image for post
Image for post
Image for post
The action is “Left in Artboard” and the shortcut is CMD+SHIFT+CTRL+OPT+L

Connect the dots

Image for post
Image for post
midiStroke converts your MIDI signals into keystrokes.
Image for post
Image for post
The values sent from a MIDI device
Image for post
Image for post
Converting a MIDI signal to a keystroke.

Test that your MIDI shortcut works in Sketch.

Image for post
Image for post
Using the MIDI left align shortcut. Hold ALT while using it on multiple objects to align to the artboard edge.

Voila!

Design + Sketch

The best collection of articles, tips, tutorials, and…

Chris Grain

Written by

I write about maximising the potential of Sketch, UX and data-driven design.

Design + Sketch

The best collection of articles, tips, tutorials, and stories on designing and prototyping with Sketch and beyond

Chris Grain

Written by

I write about maximising the potential of Sketch, UX and data-driven design.

Design + Sketch

The best collection of articles, tips, tutorials, and stories on designing and prototyping with Sketch and beyond

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store