🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8485

Re: [AS] Search for a number in superscript

#8485
From: Olivier_Berquin
Date: Thu, 05 Oct 2006 09:46
20 lines
1115 bytes
The previous message give me the content of the texte.
This script give me the object reference of if.



 
tell application "Adobe InDesign CS2" 
	tell active document 
		set theNotesNumber to "423" 
		tell every story 
			set myRef to object reference of every text style range � 
				whose position is superscript and contents is theNotesNumber 
		end tell 
	end tell 
end tell 




Oli.
Technical Details
Message-ID: <3bc1dafa.4@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.albasani.net!news.isoc.lu!webcrossing
References: <3bc1dafa.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,d8cae01dc371883a
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII
From: Olivier_Berquin@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.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [AS] Search for a number in superscript
Message-ID: <3bc1dafa.4@webcrossing.la2eafNXanI>
Date: Thu, 5 Oct 2006 02:46:08 -0700
References: <3bc1dafa.-1@webcrossing.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit