• 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
Replace all attributes font in a quark document.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Replace all attributes font in a quark document.


  • Subject: Replace all attributes font in a quark document.
  • From: Olivier Berquin <email@hidden>
  • Date: Tue, 12 Jun 2001 14:51:35 +0200

Hello,

How can I change all the Times'font in italic by the I Times Italic in a
quark document?

I've a document with +/- 80 pages. I use this script but it's so slowly.

tell application "QuarkXPress Passport 4.11"
activate
tell document 1
repeat with x from 1 to count of pages
tell page x
repeat with y from 1 to count of text boxes
tell text box y
repeat with py from 1 to count of paragraphs
try
set (properties of every text style range
where font is "Times" and (style is italic and style is bold)) to {font:"BI
Times BoldItalic", style:plain}
end try
end repeat
end tell
end repeat
end tell
end repeat
end tell
end tell


I try this but... No result

tell application "QuarkXPress Passport 4.11"
tell document 1
try
set properties of every text of every story where ,
font is "Times" and (style is italic) to ,
{font:"I Times Italic", style:plain}
end try
end tell
end tell


Any idea ?


  • Follow-Ups:
    • Re: Replace all attributes font in a quark document.
      • From: Hans Haesler <email@hidden>
  • Prev by Date: Re: Call a perl script from an applescript
  • Next by Date: Re: Script Editor freezing
  • Previous by thread: [netscape] get text of window
  • Next by thread: Re: Replace all attributes font in a quark document.
  • Index(es):
    • Date
    • Thread