🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8735

Re: Hyperlinking Issues with InDesign Script

#8735
From: Peter_Kahrel
Date: Thu, 28 Sep 2006 09:10
26 lines
1282 bytes
This regexp matches anynumber of sections between periods (allowing for hyphens as well): 

      var myRegExp = /https?:\/\/([-\w]+\.)+\w+\b/g;





      I am wondering if there is a way in InDesign to turn a link the standard
      blue with an underline




Apply a character style to the links and you can give them any formatting you want.

      I have a script that detects hyperlink text....but it will only run ONCE
      and ONCE alone. Does anyone have a suggestion for code that will





Show us the code, probably it can be easily changed to capture all links.

Peter
Technical Details
Message-ID: <3bc1cd8b.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.taunusstein.net!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossing
References: <3bc1cd8b.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,d5d2496634d5a1bb
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Peter_Kahrel@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.taunusstein.net!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Hyperlinking Issues with InDesign Script
Message-ID: <3bc1cd8b.0@webcrossing.la2eafNXanI>
Date: Thu, 28 Sep 2006 02:10:08 -0700
References: <3bc1cd8b.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit