Replace all attributes font in a quark document.
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 ?