1 Reply Latest reply on Jan 28, 2013 3:58 AM by R-Bala-Krishnan

    Remove PreflightProfile

    BEGINNER_X Level 3

      Hi All,

       

      Requirement:

       

      I want to delete preflight profile in the name of "test.idpp' in my active document.

       

      After that i want to load preflight profile with the  name of "test.idpp".

       

       

      //For loading the Preflight Profile

      var profile = app.loadPreflightProfile(File("~/Desktop/test.idpp"));    //this line working fine

       

       

      For remove the already existing Preflight Profile in the name of 'test.idpp'

       

      var profile = app.PreflightProfile.remove()     //Please give solution for this line

       

      and

       

      remove all the preflight profiles in the active document     //Please give solution for this line too

       

       

       

      Thanks in advance

      BEGINNER