🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8820

Re: Javascript doubt

#8820
From: priyan
Date: Sat, 23 Sep 2006 11:55
11 lines
1034 bytes
Hi Dave

Thanks for ur reply

var mydoc = app.activeDocument;
var mytext = mydoc.selection[0];
mydoc.xmlTags.add({name:"ce:underline"});

from the above coding i need to add an underline tag for the characters selected, which not showing any error messages as well as adding the tag. can u check and tell me what's the problem.

thanks in advance
Technical Details
Message-ID: <3bc1bf71.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossing
References: <3bc1bf71.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,7de22d946ccdbc69
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: priyan@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Javascript doubt
Message-ID: <3bc1bf71.1@webcrossing.la2eafNXanI>
Date: Sat, 23 Sep 2006 04:55:57 -0700
References: <3bc1bf71.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit