🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9018

Re: Selecting graphic as text

#9018
From: Star_Kid
Date: Tue, 12 Sep 2006 13:40
20 lines
1812 bytes
tchaiket@adobeforums.com wrote:
> Does anyone has script for selecting a graphic as text? I would like to select the graphic and adjust the baseline on the image in relation to the text around it.

I hope, you are talking about an inline graphic. Just select graphics
like
for each pg in mydoc.pages.count
	for each tf in pg.textframes.count
		for each pra in tf.paragraphs.count
			for each gra in pra.AllGraphics.count
				gra.select
				'change the baseline like this
				gra.Parent.Parent.BaselineShift = ...
			next
		next
	next
next

Yes, this is vb. I don't know c#. I hope, you will have some idea from
this.
Technical Details
Message-ID: <1158068415.782003.172050@b28g2000cwb.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail
References: <3bc19421.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,cdfd06138d9e0f33
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail
From: "Star_Kid" <AbdulAli786@gmail.com>
Newsgroups: adobe.scripting.indesign
Subject: Re: Selecting graphic as text
Date: 12 Sep 2006 06:40:15 -0700
Organization: http://groups.google.com
Lines: 21
Message-ID: <1158068415.782003.172050@b28g2000cwb.googlegroups.com>
References: <3bc19421.-1@webcrossing.la2eafNXanI>
NNTP-Posting-Host: 125.22.240.232
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1158068420 27009 127.0.0.1 (12 Sep 2006 13:40:20 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 12 Sep 2006 13:40:20 +0000 (UTC)
In-Reply-To: <3bc19421.-1@webcrossing.la2eafNXanI>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: b28g2000cwb.googlegroups.com; posting-host=125.22.240.232;
   posting-account=k8ZJ8A0AAAA0wCfXJGtswbFsU9MPy8Bw