2 Replies Latest reply on Sep 21, 2012 1:11 AM by Bill joy

    How add text to Notes ?

    Bill joy Level 1

      Hi All

      I want to add text in notes. I have create note sucessfully.

      My note label and name are not apply while script run sucessfully.

      How add text in note? My script is :

       

      #target indesign

      var myDocument = app.documents.add();

      var myTextFrame = myDocument.pages.item(0).textFrames.add();

      myTextFrame.geometricBounds = ["10p", "15p", "50p", "50p"];

      myTextFrame.contents = "Adobe Indesign";

      var insertionPoint=myTextFrame.insertionPoints.item(-1);

      var note=insertionPoint.notes.add(1433299822);

      note.label="NewNote";

      note.name="FirstNote";

       

      Thanks