AHK string for going to next segment

Dear friends,

How can I instruct AHK to go to the next segment. For example, I want to: 1. Select the entire segment > 2. Highlight it in yellow (Ctrl+/ from another script) > 3. Go to next segment > 4. Loop steps 1 to 3 to execute n times. Thanks to Nora's previous scripts, I know how to implement steps 1, 2 and 4, but I can't cope with step 3. Will you be so kind as to enlighten me on this?

#IfWinActive ahk_exe SDLTradosStudio.exe
#v::
InputBox,Var,Paste one sentence per segment (by Nora Díaz), How many times do you want to run the sequence?
loop, % Var
{
SendInput {Shift Down}{Control Down}{Down}{Shift Up}
SendInput {\}
SendInput {Control Up}
I NEED SOME STRING(S) HERE TO GO TO NEXT SEGMENT
}
return
#IfWinActive

Parents Reply Children