Skip to content

Instantly share code, notes, and snippets.

@swasher
Created August 20, 2015 10:13
Show Gist options
  • Save swasher/0bfbf495593f9b21449d to your computer and use it in GitHub Desktop.
Save swasher/0bfbf495593f9b21449d to your computer and use it in GitHub Desktop.
#
# place it in indesign script folder
# this script can numbering table cells
#
var myCells = app.activeDocument.selection[0].cells;
for (i=0;i<myCells.length;i++){myCells[i].texts[0].contents = String(i+1);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment