🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9184

Re: JavaScript: Copy and Paste Objects from one page to another

#9184
From: Harihara_Sudhan
Date: Sun, 10 Sep 2006 05:31
25 lines
1765 bytes
Dear Dave,

I have the Problem...here i can paste the code,

if (elm.xmlElements[i].markupTag.name == "ce:cross-ref") meantime i can search(condition) to another xmlElements is possible?. example..

//Finding the Caption's of the Figure

if (elm.xmlElements[i].markupTag.name == "ce:figure")
  {
   //Finding the Cross -ref of the Figure [citation]
   // Some Process doing//
   if (elm.xmlElements[i].markupTag.name == "ce:cross-ref")
   //Some Process doing//

// Here i can paste the ce:figure contents..[figure caption]
   }
  }

Sir, Is it possible?. b'cos i can tried more times, its working but not paste the Figure captions in the Selected Cross-ref area.

So i need your script and suggestions. Sir please kindly consider my Question and please give me the Suggestions, b'cos i am waiting for your mail....

Thanks & Regards
T.R.Harihara Sudhan
Technical Details
Message-ID: <3bc15485.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!atl-c05.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!newsfeed.yul.equant.net!news-lond.gip.net!news.gsl.net!gip.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing
References: <3bc15485.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,94df7927ec277d84
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Harihara_Sudhan@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!atl-c05.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!newsfeed.yul.equant.net!news-lond.gip.net!news.gsl.net!gip.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: JavaScript: Copy and Paste Objects from one page to another
Message-ID: <3bc15485.3@webcrossing.la2eafNXanI>
Date: Sat, 9 Sep 2006 22:31:22 -0700
References: <3bc15485.-1@webcrossing.la2eafNXanI>
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit