Macro Language Reference > Macros > Window > wrest
  
wrest
Description
Restores a document window to the size and position it occupied prior to a maximize or minimize operation.
 
Example 341. Restore the document window opened second in an PTC ALD session
The example below restores the document window that was opened second in a PTC ALD session:
wrest 2
Syntax
wrest window:n?
wrest
[no parameter]
Restore the current top window.
window
The number of the document window whose size and position is to be restored. The order that the documents were opened gives you the number to specify here.