I’ve recently gotten around to creating some “json hack” keyboard shortcuts for properties panel functions that I use a lot. Thanks to Leo and Daniel for their awesome guidelines on this thread. During this process, I realized that the macro functionality in the Script menu is actually pretty robust, I had never used it before.
So now I’m wondering about the possibilities of creating a keyboard shortcut to combine two discrete actions; specifically in my case to switch the selection to X noteheads AND enable “suppress playback”. I recorded and saved a script for the task (below), but I can’t seem to figure out how to map it to a keyboard shortcut without using external software like Keyboard Maestro.
app:doCommand([[Edit.SetNoteheadSetOverride?NoteheadSetEntityID=noteheadset.Xnoteheads]]) app:doCommand([[UI.InvokePropertyChangeValue?Type=kEventMuted&Value=string: "true"]])
As far as I can tell, keycommands_en.js only takes a single command per keyboard shortcut, but I was wondering if there might be another native solution that I’m missing?
Also as a tiny wishlist idea, it would be super nice to be able to record macros and then set keyboard shortcuts to run those scripts directly from the preferences menu.