Quark tip, replace all in certain style sheet
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