🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #10266

Re: Display Dialog question

#10266
From: Kari Puikkonen
Date: Thu, 29 Jun 2006 08:11
24 lines
1348 bytes
Ok, this works:

tell myDoc 
		set myStyle to paragraph style myPara 
		set myChange to object reference of every text style range of every cell � 
		of every table of every story whose applied paragraph style is myStyle 
		changecase myChange using myCase 
	end tell 




I found JavaScript that works with both text and text in tables. Can anyone tell what this part of it is in AppleScript:

app.findPreferences = null; 
  app.changePreferences = null; 
  myFinds = myDoc.search('',false,false,undefined,{appliedParagraphStyle:myStyles[theStyle]}); 
  myLim = myFinds.length; 
  for (var j=0; myLim > j; j++) { 
   myFinds[j].texts[0].changecase(myCases[theCase]);



Kari
Technical Details
Message-ID: <3bc0ad4b.13@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0ad4b.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ea7bd79cbe57db77
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII
From: "Kari Puikkonen" <kari.puikkonen@welho.com>
Newsgroups: adobe.scripting.indesign
Subject: Re: Display Dialog question
Message-ID: <3bc0ad4b.13@webcrossing.la2eafNXanI>
Date: Thu, 29 Jun 2006 01:11:28 -0700
References: <3bc0ad4b.-1@webcrossing.la2eafNXanI>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing