🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15007

CS making master page items local

#15007
From: peter_long
Date: Fri, 02 Jan 2004 20:46
26 lines
1277 bytes
I want to move master page items to each appropriate page but can't seem to get the item to unlink. I must be doing something wrong. I've tried lots but.... (checking code still in place)



 
tell application "InDesign CS" 
	set myPub to front document 
	tell myPub 
		set myPage to page 3 
		set myMasterItems to master page items of myPage -- make master page items local			 
		repeat with eachMasterItem in myMasterItems 
			tell eachMasterItem 
				try 
					get properties 
					unlink from parent of parent 
				end try 
			end tell 
		end repeat 
		set myMasterItems to master page items of myPage -- make master page items local		 
	end tell 
end tell 




peter
Technical Details
Message-ID: <2ccf2b0f.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,fed8217778fa2f44
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-02 13:07:58 PST
From: peter_long@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: CS making master page items local
Message-ID: <2ccf2b0f.-1@webx.la2eafNXanI>
Date: Fri, 2 Jan 2004 12:46:44 -0800
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit