🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #854

Re: pasting an oject on 100 pages, same place

#854
From: SuperMacGuy
Date: Thu, 26 Feb 2009 20:04
16 lines
1112 bytes
Here is a start. You will need to target the text frame somehow. I like labels, so I called a text frame "map date". You'd have to release the master frame first. [Applescript]:

tell application "System Events"
	set theCurrentDate to (get (current date) as string)
end tell

tell application "Adobe InDesign CS3"
	tell document 1
		tell page 1
			--tell text frame 1
			tell text frame "map date"
				set contents to theCurrentDate
			end tell
		end tell
	end tell
end tell
Technical Details
Message-ID: <59b80d43.4@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b80d43.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,1c3548a993f918ac
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: SuperMacGuy@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: pasting an oject on 100 pages, same place
Message-ID: <59b80d43.4@webcrossing.la2eafNXanI>
Date: Thu, 26 Feb 2009 12:04:13 -0800
References: <59b80d43.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit