How to Select Text in OpenOffice Based on Searches?

Keyboard Maestro is incredible. I'm impressed with the interface--good job!

Please tell me if this is possible: In OpenOffice, I'd like KM to select all the text between the words "SceneStartxxx" and "SceneEndxxx." That is, I'd like it to search for SceneStartxxx, move down one line, set the start of a selection, then find SceneEndxxx, and extend the selection to just before that point.

Is that possible?

Thanks.