Assign keyboard shortcut to page view

Can I assign keyboard shortcuts to
image

I cannot find
image
in the key shortcut search list.

TIA.

Probably you could record a macro and assign a keyboard shortcut?

I have shortcuts for the first and second option, but I believe I created them in a earlier version of Dorico. It seems that they no longer exist in the Key Commands list – they should be in the View section (I am on the latest version). Or, I hacked them directly into the JSON file. Can’t remember.

If you want, locate the shortcut file on your computer, should be in the Dorico user folder. Mine is called keycommands_en.json and the custom shortcuts look like this, all in the first section (kGlobal):

					{
						"View.SetPagePositionPolicy?PagePositionPolicy=kSpreadHorizontal" : [ "Ctrl+Alt+Shift+X" ]
					},
					
					{
						"View.SetPagePositionPolicy?PagePositionPolicy=kSingleVertical" : [ "Ctrl+Alt+Shift+Z" ]
					},

So if you change that to what you need it should work, probably something like “kSingleHorizontal”.