Keyboard shortcut on apple for mute function in server context menu?

Hi,

on Linux there is a shortcut for the mute function in the server context
menu as Ctl-AltEnd. No such thing exists on the apple version of the IDE
it seems. Am I correct?

best, Peter

the shortcut is m

		w.view.keyDownAction = { arg view, char, modifiers;
				// if any modifiers except shift key are pressed, skip action
			if(modifiers & 16515072 == 0) {

				case
				{char === $n } { this.queryAllNodes(false) }
				{char === $N } { this.queryAllNodes(true) }
				{char === $l } { this.tryPerform(\meter) }
				{char === $p}  { if(this.serverRunning) { this.plotTree } }
				{char === $ }  { if(this.serverRunning.not) { this.boot } }
				{char === $s } { if( (this.isLocal and: (GUI.id == \qt)) or: ( this.inProcess ))
					{this.scope(options.numOutputBusChannels)}
					{warn("Scope not supported")}
				}
				{char === $f } { if( (this.isLocal and: (GUI.id == \qt)) or: ( this.inProcess ))
					{this.freqscope}
					{warn("FreqScope not supported")}
				}
				{char == $d } {
					if(this.isLocal or: { this.inProcess }) {
						if(dumping, stopDump, startDump)
					} {
						"cannot dump a remote server's messages".postln
					}
				}
				{char === $m } { if(this.volume.isMuted) { this.unmute } { this.mute } }
				{char === $0 and: {volumeNum.hasFocus.not}} {
					this.volume = 0.0;
				};
			};
		};

the shortcut is m
Great! Thanks for finding it out. Strange this is not indicated in the
context menu of the IDE.

best, P

1 Like

…feel free to file an issue… or remedy via PR :wink:

I think the question is about the server menu in the IDE, not about the server GUI.

You might be able to define a shortcut for it in Edit > Preferences > Shortcuts.

(Edit…) Except on Mac, preferences are under the Apple menu, not Edit.

There probably should be a shortcut by default (though tbh in Linux, the shortcut is just awkward and forgettable enough that I’ve never used it).

hjh