I’m looking for a way of modifying Keyboard shortcuts (the xml) so that i could set, say, the F6 key to be Global:Transport:Play Pattern. . Any suggestions or ideas?
as stated - this isn’t about "yeah just do it by hand on Renoise → Settings → Shortcuts.
This is about running a script that destructively overwrites / modifies the keybindings.xml to have the required keyboard configurations.
for specific features.
i meant with lua scripting. programmatically. specifically modifying keybindings.xml lines to conform to a specific setting. not doing these by hand using Renoise → Settings → Shortcuts
It appears that Renoise accepts command xml file uploads.
Make a copy of the original first. Edit the copy with the steps above and then upload it, all using Lua. This should be lightning fast to execute. It’s just text editing.
Edit: You should look to see if the API allows loading command xml files. Something similar to: renoise.app():load_theme(filename)
I find it a little strange that the API doesn’t allow loading key command xml files. Everything is designed to add commands with add_keybindings for your own tool.