<SelectOrDelete> <NextOrPrevious> 1 Word and <2To20> Characters

SCRIPT {
    if _arg2 = "Next" or _arg2 = "Forward" then _arg3 = Str$( Val(_arg3) - 1 )
    if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left "+_arg3+"}"
    if _arg2 = "Next" then  SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}{Shift+Right "+_arg3+"}"
    if _arg2 = "Back" then  SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left "+_arg3+"}"
    if _arg2 = "Forward" then  SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}{Shift+Right "+_arg3+"}"
    if _arg2 = "Last" then  SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left "+_arg3+"}"
    if _arg1 = "Delete" then SendKeys "{Del}"
}