Arbortext Command Language > Functions by Alphabetical Listing > window_doc
  
window_doc
window_doc ([window])
This function returns the document identifier for the document tree displayed in the window specified by window. The window argument is a window identifier as returned by window_create or is one of the window classes such as edit or cmd. In the latter case, the window of the specified class last having focus is used. If no argument is given or is 0, the current window is used.