I'd also really like to see an answer/solution to this question. Although, it would be really handy to access that feature via the Quick Apply (cmd-return) keystroke, seeing as that's the fastest way I know of to apply a style.
Least said soonest mended is a saying which usually refers to an
argument. I think it can also neatly apply to scripting.
I have been labouring on a styling script which applies byline, intro
and bodytext paragraph styles and does a couple of other little tasks
at the same time.
It would be a lot simpler - and shorter - if the script had to "know"
about only one style at a time, with the others strung along as next
I am relieved to find someone else shares my curiosity about this.
All the best HarboSenior
To do it by scripting, you have to do it manually. The basic idea is to get the nextStyle property of the style and apply it to the next paragraph.
If you don't want to go through the effort of scripting it yourself, you can try this: http://in-tools.com/wordpress/indesign/plugins/formatting-tools-version-104-released