Targeting steady states in a laser