This ImageJ macro has been obsoleted by the File › Close All command. It is still in Fiji only for backwards compatibility.