Reference: Scripts Status Auto Toolbar
Script Status Options
The Auto Collapse function opens and closes the list of actions associated with an individual script line. The action list is displayed for active script lines and hidden for completed or pending script lines. The toolbar button is highlighted when auto collapse is engaged.