0 Replies Latest reply on Apr 11, 2012 1:32 AM by JulienFR

    listing of script labels items in an array

    JulienFR Level 1

      hi,

      i use this cript to list my selection and i want to put all this labal and ID in array.

      if a create a array i dont know how put length of array because depend of documents and how many labels there are.

      thanks........ :-(

       

       

      function(){

              var p = [];

              for(var i = 0; i < app.selection.length; i++)

                  p.push("Object: " + app.selection[i].toSource() + " | Contents: " + app.selection[i].label)

              return p;

          }().join('\r'), "Adobe InDesign ver. (" + app.version + ")"