Ventura 8 Script: Select / Highlight Multiple Lines

Hi,

Just want to ask if there's a script command or syntax in Ventura 8 to highlight and select multiple lines?
There is a marker/paragraph tag to mark the beginning of the first line to be highlighted and selected, and also another marker/paragraph tag to mark the end.

Sample here...

line 1
line 2
line 3
begin_select line
line4
line5
line6
line7
end_select line
line 8
line 9
line 10

Well, above is just simplified document sample. The main goal is to have a script to select multiples lines that will start from the marker "begin_select line" and selection/highlight will terminate at marker "end_select line". Thus, giving the output of highlighting and selecting multiple lines which are line4 up to line7.

Highly appreciate your help.
Thanks!