Redoes the analysis automatically for exclude and data changes. If automatic recalc is on, you should use wait(0) commands to let the triggers take effect and do the recalculation.
// maximize the window:
obj<<Maximize Window(1)
// restore the window:
obj<<Maximize Window(0)
// minimize the window:
obj<<Minimize Window(1)
// restore the window:
obj<<Minimize Window(0)
obj << Save Script for All Objects To Data Table("My Script")