• 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 tip, replace all in certain style sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quark tip, replace all in certain style sheet


  • Subject: Quark tip, replace all in certain style sheet
  • From: Scott Lawton <email@hidden>
  • Date: Wed, 16 Aug 2006 14:07:50 -0400

This may be easy for Quark scripting gurus, but it took me a bit of digging to put together, and I didn't see a similar example in the archives.  (I may well have missed it of course.)  So, I'm posting it in case it's useful for anyone.

	tell application "QuarkXPress"
		tell document 1
			tell every text box
				tell every paragraph whose style sheet is "foo"
					set (every text whose it is "old stuff") to "new stuff"

I realize that nested tells can be combined in various ways....

Any other improvements welcome.  Perhaps there are better ways to replace every occurance within a specific stylesheet.
--

cheers,

Scott
 _______________________________________________
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

  • Prev by Date: Quark 6.1 index / "Edit List" replacement?
  • Next by Date: Brian Higgins/RMTBAG/US/NAM/DOM is out of the office.
  • Previous by thread: Re: Quark 6.1 index / "Edit List" replacement?
  • Next by thread: Brian Higgins/RMTBAG/US/NAM/DOM is out of the office.
  • Index(es):
    • Date
    • Thread