command for Automation>Trim To Current