Content of selection into string?

Hi,

Is it possible to extract the content of the selection (txtfield) and put it into a variable?

TiA :slight_smile: