The SetFromText() method will try to set an output field value based on a provided text selection.
Function SetFromText( index|name, tag, x, dx, y, dy, bottom )
variant index or name
integer index - field index (starting from 1)
string name - the name of the output field
string tag - the input tag string
integer x - position from the left
integer dx - width of the text block
integer y - line number from the top
integer dy - number lines in the text block
string bottom - the bottom delimiter
boolean - true on success
An exception is thrown on an error