// This script will delete duplicate rows in a data table. The first unique occurrence of each row is preserved. // 2016-01-27. v1.2. robot. Initial release. Names Default To Here( 1 ); dt = Current Data Table(); col_min = Parse( "Col Min( Row(), :Name(\!"" || Concat Items( dt << get column names( string ), "\!"), :Name(\!"" ) || "\!"))" ); duplicates = []; For Each Row( If( col_min != Row(), duplicates |/= Row() ) ); dt << delete rows( duplicates ); nn = N Rows( duplicates ); New Window( "Delete Duplicate Rows", <