Quark, deleting unused master pages
Quark, deleting unused master pages
- Subject: Quark, deleting unused master pages
- From: Malcolm Fitzgerald <email@hidden>
- Date: Mon, 31 Jan 2005 15:20:14 +1100
I want to delete unused master pages. I'm not sure that I've got the
syntax right, though I've tried so many combinations now that I can't
remember them all. Can anyone see what I'm doing wrong?
tell application "QuarkXPress Passport"
tell master document 1
set theMasterSpreads to object reference of every layout
end tell
tell document 1
set theSpreadsInUse to object reference of master spread of pages
end tell
end tell
set theUnusedMasterSpreads to ExcludeFromList(theMasterSpreads,
GetUniqueListItems(theSpreadsInUse))
--
repeat with theSpread in theUnusedMasterSpreads
tell application "QuarkXPress Passport"
delete theSpread
-- e.g., delete spread 1 of master document
"#LGK_S_114_115_Variable_Stars.qxd"
end tell
end repeat
thanks
Malcolm Fitzgerald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden