Article View: adobe.scripting.indesign
Article #1911Re: Insert Text Variable
From: Thomas_B._Nielsen
Date: Thu, 15 Jan 2009 13:08
Date: Thu, 15 Jan 2009 13:08
24 lines
1751 bytes
1751 bytes
Hello Peter,
First of all thank you for helping :o)
Strange -- it should work. Does your document have a variable called "Last
Page Number"? (You call it an application variable', but these don't exist
in that sense. The variables you see in the "Text Variables" dialog are
examples created there by Adobe. I deleted them because I have no use
for all those variables in every new document that I create. Which is
also the reason why I can't really check your problem.)
If I understand you correctly, a variable that i can place in a text, needs to be visible under text variables -> define.
So first i define a variable, then i make an instance of it at the location needed right?
I thought that Last Page Number was a variable that was always present and therefore did not need to be added before using it.
Are these "demo" variables from Adobe included in the document in any way, or why have you deleted them?
(Btw my try statement above is inverted, I do it the other way around now)
Once again, thank you for your time, and scripts at
<http://www.kahrel.plus.com/indesignscripts.html>
Technical Details
Message-ID:
<59b782b5.5@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b782b5.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ca3ed841f5ed21c8 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!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Insert Text Variable Message-ID: <59b782b5.5@webcrossing.la2eafNXanI> Date: Thu, 15 Jan 2009 05:08:41 -0800 References: <59b782b5.-1@webcrossing.la2eafNXanI> Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit