🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2469

Re: (AS) Direct Selection of a photo in a frame, can't find the term or command to do this, help?

#2469
From: Kasyan Servetsky
Date: Tue, 16 Dec 2008 14:41
24 lines
1454 bytes

      So what if it were a vector file rather than a bitmap?




I agree with you, Roy McCoy. It's better to use 'graphic' instead of 'image'. I didn't thought about vector files.



tell application "Adobe InDesign CS3" 
	tell active document 
		set myFrame1 to item 1 of page item "frame1" 
		set myFrame2 to item 1 of page item "frame2" 
		set myGraphics1 to the first graphic of myFrame1 
		set myLink to item link of myGraphics1 
		set myPath to file path of myLink 
		set theResult to place myPath on myFrame2 
		set myGraphics2 to the first graphic of myFrame2 
		set absolute horizontal scale of myGraphics2 to absolute horizontal scale of myGraphics1 
		set absolute vertical scale of myGraphics2 to absolute horizontal scale of myGraphics1 
	end tell 
end tell
Technical Details
Message-ID: <59b747f3.5@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b747f3.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,24b5f92d2c80cd86
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kasyan Servetsky" <askoldich@yahoo.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: (AS) Direct Selection of a photo in a
 frame, can't find the term or command to do this, help?
Message-ID: <59b747f3.5@webcrossing.la2eafNXanI>
Date: Tue, 16 Dec 2008 06:41:19 -0800
References: <59b747f3.-1@webcrossing.la2eafNXanI>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit