Get active document and selected story in Adobe InDesign


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #target "InDesign"
  2.  
  3. with (app) {
  4. try {
  5. var myDoc = activeDocument;
  6. var myStory = selection[0].parentStory;
  7. } catch (error) {
  8. alert(error);
  9. }
  10. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.