🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2468

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

#2468
From: Kasyan Servetsky
Date: Tue, 16 Dec 2008 14:29
15 lines
1350 bytes
But to copy/paste something via clipboard is an error prone process. Let's try another approach:

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 myImage1 to the first image of myFrame1 
		set myLink to item link of myImage1 
		set myPath to file path of myLink 
		set theResult to place myPath on myFrame2 
		set myImage2 to the first image of myFrame2 
		set absolute horizontal scale of myImage2 to absolute horizontal scale of myImage1 
		set absolute vertical scale of myImage2 to absolute horizontal scale of myImage1 
	end tell 
end tell
Technical Details
Message-ID: <59b747f3.4@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.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!news2.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.4@webcrossing.la2eafNXanI>
Date: Tue, 16 Dec 2008 06:29:24 -0800
References: <59b747f3.-1@webcrossing.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit