2 Replies Latest reply on Sep 12, 2012 8:45 PM by Bill joy

    Script prompt Aleart message

    Bill joy Level 1

      When I run my .jsx file

       

      #target indesign
      var myDocument = app.documents.add();
      var myTextFrame = myDocument.pages.item(0).textFrames.add();
      myTextFrame.geometricBounds = ["6p", "6p", "24p", "24p"];
      myTextFrame.contents = "Hello World!"

       

      it give Script Aleart message.

      "You are about to run a script in Adobe indesign CS5.5. You should only run script from a trusted source.Do you want to run the script" Yes, No.

      when I click on yes then Indesign application start sucessfully and create a text frame with Hello World!.If I click on No then Script open in ExtendScript ToolKit.

       

      I want to skip (or hide) this Script Aleart message and run the script directly without prompt this Aleart  message.   How hide this Script Aleart message ?

       

      Thanks in advance.