5 Replies Latest reply on Apr 12, 2013 2:32 AM by Beliakov

    How to write in jsx "Not equal"?

    Beliakov Level 1

      i need to check, if all bleeds have the same value:

      with (app.activeDocument.documentPreferences){

      if (documentBleedBottomOffset==documentBleedTopOffset==documentBleedInsideOrLeftOffset==docu mentBleedOutsideOrRightOffset){

      alert ("Make bleeds equal!"); exit()

      }}

       

      But if i try:

      if (!documentBleedBottomOffset==documentBleedTopOffset==documentBleedInsideOrLeftOffset==doc umentBleedOutsideOrRightOffset){

       

      nothing changes: line "alert" executes anyway. Why?