Article View: adobe.scripting.indesign
Article #1763Re: Automatic hyperlinks when typing certain keywords?
From: Thomas_B._Nielsen
Date: Fri, 23 Jan 2009 19:15
Date: Fri, 23 Jan 2009 19:15
16 lines
1372 bytes
1372 bytes
Here is a script that i made for you. It's based on work from Olav Kvern. I think it is what you are looking for. Just download the .zip file and put the two files in your scripts panel folder. Modify the NamesAndURLs.txt with what you want to search for and the link. The script assumes you have a charStyle with the name "hyperlink", but you can easily modify the script to look for something else. The charStyle is added to all matches. <http://www.nobrainer.dk/automatic-hyperlink-of-each-word-in-a-file/> Hope this will get you going in the great Indesign. If you have questions or need help, just write :o) BTW: this script is made and only testet in Indesign CS4, but will test in CS3 now also, but think it will work.
Technical Details
Message-ID:
<59b795be.9@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b795be.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,beb1c32d26e76b04 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Thomas_B._Nielsen@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Automatic hyperlinks when typing certain keywords? Message-ID: <59b795be.9@webcrossing.la2eafNXanI> Date: Fri, 23 Jan 2009 11:15:49 -0800 References: <59b795be.-1@webcrossing.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit