3 Replies Latest reply on Apr 8, 2013 7:44 AM by shilpa25

    alert rectangle size equal to dock.size

    shilpa25 Level 1

      Hi forum,    

      How do i get alert, if the rectangle size is equal to the document size...

       

      I have the bit.... can anyone tweak this..

       

       

       

      if (app.activeWindow.activePage.rectangles.horizontalScale && verticalScale== app.activeDocument.documentPreferences.pageHeight, app.activeDocument.documentPreferences.pageWidth) {

          alert ("rectangle has same size");

          }

       

       

      thanks & regards,