🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2031

Insert Text Variable

#2031
From: Thomas_B._Nielsen
Date: Wed, 14 Jan 2009 10:56
7 lines
852 bytes
Hello,

Need to set the content of a textFrame on a master page to "Current Page Number" a slash and then the missing item "Last Page Number" as found under Type -> Text Variables -> Insert Variable -> "Last Page Number";

How do i add a text variable with scripting?

....parentTextFrames[0].contents = "^N/" + ?????;
Technical Details
Message-ID: <59b782b5.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ca3ed841f5ed21c8,start
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!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Insert Text Variable
Message-ID: <59b782b5.-1@webcrossing.la2eafNXanI>
Date: Wed, 14 Jan 2009 02:56:00 -0800
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit