🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8533

Re: Sentencecase ??

#8533
From: mihak
Date: Sat, 07 Oct 2006 15:58
13 lines
1052 bytes
Yes, it is sentencecase. My mistake.
But it does not work even with sentencecase.
I found out that in CS myStory.changecase(ChangecaseMode.sentensecase);
did not work.
It is working after introducing the text object:

myStory = app.selection[0].parentStory;
myText=myStory.texts[0];
myText.changecase(ChangecaseMode.sentencecase);

thanks for help,

Miha
Technical Details
Message-ID: <3bc1e61e.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!newsfeed.x-privat.org!spool.x-privat.org!webcrossing
References: <3bc1e61e.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,a255983cd2b51362
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: mihak@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Sentencecase ??
Message-ID: <3bc1e61e.1@webcrossing.la2eafNXanI>
Date: Sat, 7 Oct 2006 08:58:38 -0700
References: <3bc1e61e.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
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!newsfeed.x-privat.org!spool.x-privat.org!webcrossing