• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Quark, deleting unused master pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Quark, deleting unused master pages
      • From: "Shane Stanley" <email@hidden>
  • Prev by Date: Basic help with Path to scripts; IDEA
  • Next by Date: Re: Quark, deleting unused master pages
  • Previous by thread: Re: Terminal grep from AS --> XML osax
  • Next by thread: Re: Quark, deleting unused master pages
  • Index(es):
    • Date
    • Thread