Skip to content

Instantly share code, notes, and snippets.

@johntaufa
Last active December 30, 2015 10:39
Show Gist options
  • Save johntaufa/7817631 to your computer and use it in GitHub Desktop.
Save johntaufa/7817631 to your computer and use it in GitHub Desktop.
Add content to text frame in Indesign
#target indesign
app.documents.add();
app.documents[0].save();
app.documents[0].pages[0].textFrames.add({geometricBounds:[40,40,180,180]});
var myFrame = app.documents[0].pages[0].textFrames[0];
myFrame.contents = "Hello world";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment