The solution from @uiuser with just using XTYPE | -
might work well. It will fail if the software is waiting for an explicit keypress event.
${KEY_MINUS} and ${KEY_PLUS} are not yet defined - I have added this to our todo list!
Workaround: Use XRUN + Script to simulate exotic keypresses