Can anyone explain why I can’t create a keyboard shortcut for Hide/Show Item that works?
I can access it under Key Commands and assign it a shortcut, but using the shortcut never does anything in any mode. I’d like to be able to select and hide player labels as a group in Engrave Mode rather than one at a time, but it doesn’t seem possible. The function doesn’t even work in Write mode with other items, either.
I had the same problem with “hide intensity marking”. I ended up watching the application.log for the command and then added it manually to keycommands_en.json
{
"UI.InvokePropertyChangeValue?Type=kDynamicHideIntensityMarking&Value=null:" : [ "Meta+Shift+H" ]
},
Maybe the same would work for you?
3 Likes
That worked. It would be cool if it worked as a toggle, but I’ll take what I can get. First time I’ve edited a json file, but it was pretty easy. No worse than editing CSS.
I think the issue is that under the hood, there are different commands to hide different kinds of items.
If you assign a shortcut to Hide/Show Item and execute it, the application log shows that it performs Edit.ToggleHideEvent. But if you select a player label and hide it from the properties panel, Dorico does UI.InvokePropertyChangeValue?Type=kCondensationLabelHide&Value=null.
It has been discussed elsewhere on the forum that it might be nice to have some command that just hides whatever is selected, regardless of the underlying mechanism.
5 Likes