Erase background on text as default or as short cut?

Hi,
I’m trying to figure out if there’s a way to change the default text (or any fonts) to always have the background erased?
I can’t find this as an option other places than a checkbox in the Engrave Mode.

Furthermore, it seems impossible to create a shortcut erase background. Am I wrong/right? An help on this topic is appreciated.

  • Jan Martin

You could manually add something to your user-level keycommands_en.json file, perhaps. The command string required to activate the Erase background property for a selected text item is:

UI.InvokePropertyChangeValue?Type=kTextErasure&Value=null

2 Likes

Thank you so much for this. Unfortunately I could not make this work, as I didn’t find the user-level file, only the system-file. And adding this string there only made Dorico behave strange. Any suggestions?

Define any key command you like on the Key Commands page of Preferences (e.g. for the Aout Dorico dialog) and that will ensure the user-level key commands file is created.

If you’re on Mac, you’ll find the file in /Users/your-username/Library/Application Support/Steinberg/Dorico 4.

On Windows, it’s in %APPDATA%\Steinberg\Dorico 4.

1 Like

Again, thank you for trying to help. Nevertheless, I can not get this to work the way I imagined. I now have a (very nice) shortcut for erasing background for text objects. But only in Engrave mode. Which makes sense. But I’d love the shortcut to work regardless of modes - is this also possible?

Thanks for good advices!

No, the property is only available in Engrave mode, so you have to be in Engrave mode to use your shortcut as well.

1 Like

I made myself a script that includes switching modes, so it’s one step to run it:

local app=DoApp.DoApp()
app:doCommand([[Window.SwitchMode?WindowMode=kEngraveMode]])
app:doCommand([[UI.InvokePropertyChangeValue?Type=kTextErasure&Value=null: ]])
app:doCommand([[Window.SwitchMode?WindowMode=kWriteMode]])

3 Likes