5 Replies Latest reply on Jun 11, 2013 2:19 AM by Yazhi-Myi

    how to make own crop marks in indesign CS5

    Yazhi-Myi

      Halo Master ..
      I want to make a scrip cropmark own use javascrip..
      cropmark standard InDesign only

       

      1.jpg

      but I want to add a colorbar itself using PDF File
      I have added a scrip

       

      function myDisplayDialog(){

          var myDialog = app.dialogs.add({name:"CropMarks"});

          with(myDialog){

      //---------------------yazh---------------------------------

      with(dialogColumns.add()){

                  var myColorBarGroup = enablingGroups.add({staticLabel:"Color Bar", checkedState:true});

                  with (myColorBarGroup){

                      with(borderPanels.add()){

                          staticTexts.add({staticLabel:"Options:"});

                          with (dialogColumns.add()){

                                var myAllColorlesCheckbox = checkboxControls.add({staticLabel:"&All", checkedState:true});

                          var myTBColorCheckbox = checkboxControls.add({staticLabel:"&Top,Bottom", checkedState:false});

                          var myLRColorCheckbox = checkboxControls.add({staticLabel:"&Left,Right", checkedState:false});

                       }

                      }

                  }

              }

      //---------------------yazh---------------------------------      

       

      and..

       

      var myReturn = myDialog.show();

          if (myReturn == true){

              //Get the values from the dialog box.

               //---------------------yazh---------------------------------   

              var myDoColorBar = myColorBarGroup.checkedState;

              var myColorBarAllColor = myColorBarGroup.checkedState;

              var myColorBarTBColor = myColorBarGroup.checkedState;

              var myColorBarLRColor = myColorBarGroup.checkedState;

               //---------------------yazh---------------------------------   

       

      so the display becomes

      2 copy.jpg


      get the master to help me add a scrip for calling a PDF file and adjust the area, such as

      3.jpg4.jpg


      please help me the master
      I am a beginner..

       


      Thank you

      Yazhi Myi