This should give you a more complete listing...
[CODE]
#target Photoshop;
var f = new File(Folder.desktop + "/Preset List.txt");
f.open("w");
f.writeln("--- Brushes");
f.writeln(getBrushList(0).join("\n"));
f.writeln("--- Colors");
f.writeln(getBrushList(1).join("\n"));
f.writeln("--- Gradients");
f.writeln(getBrushList(2).join("\n"));
f.writeln("--- Styles");
f.writeln(getBrushList(3).join("\n"));
f.writeln("--- Patterns");
f.writeln(getBrushList(4).join("\n"));
f.writeln("--- shapingCurves");
f.writeln(getBrushList(5).join("\n"));
f.writeln("--- shapingCurves");
f.writeln(getBrushList(6).join("\n"));
f.writeln("--- toolPresets");
f.writeln(getBrushList(7).join("\n"));
f.close();
alert("File created \n" + decodeURI(f));
function getBrushList(num){
var desc, brushList, ref;
ref = new ActionReference();
ref.putProperty( charIDToTypeID("Prpr"), stringIDToTypeID("presetManager") );
ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
desc = executeActionGet(ref);
var brushList = desc.getList(stringIDToTypeID("presetManager")).getObjectValue(num).getList(charIDToTypeID("Nm "));
var Names = new Array();
for (var z = 1; z<brushList.count;z++){
try{
Names.push(brushList.getString(z));
}catch(e){alert(e);return;}
}
return Names;
};
[/CODE]