var s=app.activeDocument.tableStyles; alert(s[1].basedOn); alert(s[2].basedOn); alert(s[3].basedOn.name);