🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #12

Re: (JS) Verify links are updated syntax

#12
From: Kasyan_Servetsky
Date: Wed, 01 Apr 2009 08:14
12 lines
1038 bytes
I use this function to check links status before creating ps-files:

function checkLinkNormal(){
   for(var myCounter = 0; myCounter < myDoc.links.length; myCounter++){
   var myLink = myDoc.links[myCounter];
      if (myLink.status != LinkStatus.normal){
         myLink.show();
         alert ("This link is not OK.");
         exit();
      }
   }
}
Technical Details
Message-ID: <59b877de.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
References: <59b877de.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,437afc90fdb857c3
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kasyan_Servetsky@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: (JS) Verify links are updated syntax
Message-ID: <59b877de.1@webcrossing.la2eafNXanI>
Date: Wed, 1 Apr 2009 01:14:52 -0700
References: <59b877de.-1@webcrossing.la2eafNXanI>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit