Custom Actions

Are you sure you need to use ‘break beam’? Beam together seems to break replace existing beams with the new one.
Any way - you should also be able to do it wth a macro. Go to Script - ‘Start recording macro’, and perform your edit. Use shift+arrow to extend the selection. Stop the recording from the same menu. You can use the ‘Run last script’ shortcut (cmd+alt+shift+r).