12 Replies Latest reply on Sep 24, 2008 4:48 AM by Loic.Aigon

    Filtering/alerting upon link path

    Level 1
      Dear all,

      I use the following js for updating links in my indd docs as part of a semi-automatic PDF export:

      try {
      var theLinks = app.documents[0].links;

      for (var i = 0; i < theLinks.length; i++)
      {
      theLinks[0].update();
      }
      }

      I'd like to know how it's possible to extract the link path information and display an alert if the path is not pointing at a specific server?
      I'm very much a beginner at scripting so I'd be greatful for any help :-)

      Kind regards,
      Rasmus