Is it possible to have a shortcut do two things at once?

• May 27, 2021 - 03:32

I ask this because I use the "euwbah" plugin (I ask this in here instead of plugins because it's an inquiry to do with non-plugin functionality), and I want to be able to, say, enter "C" and retune it to, say, 19edo, all in one click. When I try to do this sort of thing, it tells me that it conflicts with another shortcut.

Is it possible to maybe have a shortcut be multiple things at once? If so, how would I go about implementing that? Thanks!


Comments

No, you can't do that directly, but there is a plugin that lets you combine actions. There are also third party tools like AutoHotKey for WIndows (and presumably similar for other OS's) that can create macros like that. Or, you could simply add new line or two to your favorite plugin that adds the note first.

In reply to by Bhoenix

The plugin is this one - https://musescore.org/en/project/action-chain-shortcut. But I don't think it can include other shortcuts currently. I could be wrong.

AutoHotKey works with any program - it processing keystrokes before other programs get a hold of them. So you can make pressing one key send a series of them instead, and do so differently for one program than another, etc. But, not sure how simple it is to use for someone who isn't at least somewhat familiar with programming.

Let me ask a more general question: why are you wanting to do this? I'm guessing it's not because you have a single C somewhere in your score that you want to retune, and wish to save a click :-). More likely, you want all C's retuned, or perhaps all notes period? If so, why note simply run the plugin on the whole score rather than one note at a time?

In reply to by Bhoenix

> "especially hopefully hearing playback"
That won't happen; after all, the end result of a plugin or a macro sending a combination of keystrokes is still doing every single action one after the other. Meaning that you'll still have the note input first (and the sound that comes with it) and the retuning afterwards.

In reply to by Bhoenix

I wonder if it's possible to have a soundfont tuned that way so you could just use that? Or use an external synth?

But yeah, probably either customizing the plugin or else an AutoHotKey macro would be the way to do this sort of highly specialized thing more directly.

Do you still have an unanswered question? Please log in first to post your question.