Quote:
can i hade the input field ?


That's created when you create the window with the /window command.

Single line edit box: /window -e
Multi line box: window -E

To read a line from the window you could use $line(@window,N)

N = line number to read (0 returns number of lines in @window)

To read the last line in the window, you could use $line(@window,$line(@window,0))