There is a EDIT control (TYPE == 13).
 
Syntax:
Window.AddControl(id, 13, X, Y, WIDTH, HEIGHT, "Text");
Sample:
Window.AddControl(12,13,82,84,58,34,"Both scrollbars");
Description:
This is a edit control (Creates a edit that has a vertical scroll bar and horizontal scroll bar). An edit control is a rectangular control (X, Y, WIDTH, HEIGHT) window typically used in a dialog box to permit the user to enter and edit text from the keyboard.

The user can type text when the edit control displays a flashing caret; use the mouse to move the cursor, select characters to be replaced, or position the cursor for inserting characters; or use the BACKSPACE key to delete characters.

X,Y,Width, HEIGHT :- The dialog units. The horizontal base unit is equal to the average width, in pixels, of the characters in the system font; the vertical base unit is equal to the height, in pixels, of the font. Furthermore, each horizontal base unit is equal to 4 horizontal dialog units; each vertical base unit is equal to 8 vertical dialog units.
 
  GUI for script  
Content