Harvey, if you use the advanced editor, you see also a button called "insert". Here you will find "syntaxhighlighting" > javascript. Please use this, if you post code.
I change the lines only for the first script. As lesson for you, change the additonal lines by yourself!
The script will work if nothing is selected, if a textframe is selected or if some paragraphs and a table are selected. It will not work, if only specific rows are selected.
// left Indent: whatever, firstLineIndent: 8 mm var curDoc = app.activeDocument; if ( !app.selection.length ) { var allStories = curDoc.stories.everyItem(); var paras = allStories.paragraphs.everyItem(); var parasInTables = allStories.tables.everyItem().cells.everyItem().paragraphs.everyItem(); } else if( app.selection.length == 1 && ( app.selection[0].hasOwnProperty( "baseline" ) || app.selection[0].constructor.name == "TextFrame" ) ) { var paras = app.selection[0].paragraphs.everyItem(); var parasInTables = app.selection[0].tables.everyItem().cells.everyItem().paragraphs.everyItem(); } else { alert( "Something wrong with your selection!" ); exit(); } paras.firstLineIndent = "8mm"; parasInTables.firstLineIndent = "8mm";