🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2366

Re: Changing Values in XML tags

#2366
From: Stefan_Jonsson
Date: Thu, 01 Jan 2009 08:31
18 lines
1134 bytes
Thanks KvD anD Stefan!

KvD: Unfortunately I have products not containing ART_PRICE.

Stefan:

This looks interesting, but when I try to run the function like this:

app.activeDocument.search('^9^9:^9^9',false,false,ResetPrice);

It says app.activeDocument.Search is not a function, this is probably beacuse I have to use CS3 script style.
The function app.activeDocument.search only works in CS2 or if i put the script in a "Version 4.0 scripts" folder, but then your function does not work...

How do I search in CS3?

Thanks

/Mossman
Technical Details
Message-ID: <59b7651b.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b7651b.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,d78f6b73256f6f00
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Stefan_Jonsson@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Changing Values in XML tags
Message-ID: <59b7651b.2@webcrossing.la2eafNXanI>
Date: Thu, 1 Jan 2009 00:31:27 -0800
References: <59b7651b.-1@webcrossing.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit