Skip to content

Instantly share code, notes, and snippets.

@moluapple
Created August 9, 2011 14:24
Show Gist options
  • Save moluapple/1134174 to your computer and use it in GitHub Desktop.
Save moluapple/1134174 to your computer and use it in GitHub Desktop.
[Indesign] Fill Blank Cells
var oCells = app.documents[0].stories.everyItem().tables.everyItem().cells.everyItem().getElements(),
len = oCells.length,
i = 0;
for (; i < len; i ++){
oCells[i].contents == "" && oCells[i].contents = "-";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment