Article View: adobe.scripting.indesign
Article #8093[AS]{ID2.02} How to extract text as a numerical variable
From: Eric_McManus
Date: Fri, 10 Nov 2006 19:08
Date: Fri, 10 Nov 2006 19:08
5 lines
1436 bytes
1436 bytes
This is probably something any scripter knows, but I've managed to not learn it in my limited forays into the subject. I've got paragraphs that end in a page number either 1, 2, or 3 digits long. I need to get that number into a form such that I can use it to script creating a hyperlink to the page to which it refers. Basically, it is an index story that isn't created by InDesign, but I need it hyperlinked the way that InDesign does its own indices. I'll be outputting a PDF. I'm not asking anyone to write the whole script for me, just give me some tips on getting those last few characters of a paragraph into variable form. Then I'll spend some of my weekend on it and be back with more questions on Monday, no doubt. Thanks for any help you can offer.
Technical Details
Message-ID:
<3bc23e2e.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,daf950ce02670294
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Eric_McManus@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: [AS]{ID2.02} How to extract text as a numerical variable
Message-ID: <3bc23e2e.-1@webcrossing.la2eafNXanI>
Date: Fri, 10 Nov 2006 11:08:22 -0800
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit