• 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
Change Quark fonts attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change Quark fonts attributes


  • Subject: Change Quark fonts attributes
  • From: Olivier Berquin <email@hidden>
  • Date: Tue, 11 Sep 2001 12:08:00 +0200

Hi all,

I would like to change the attributes of the "times" font. I've try this 2
scripts but... they don't work


-- 1
tell document 1 of application
"QuarkXPress Passport 4.11"
activate
set selection to null
try
tell every story
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}
set (properties of every text style range where font is ,
"Times" and style is italic) to ,
{font:"I Times Italic", style:plain}
end tell
end try
end tell

-- 2
tell document 1 of application
"QuarkXPress Passport 4.11"
activate
set selection to null
try
set style of (text style ranges of stories whose font is "Times" ,
and style contains italic) to {font:"I Times Italic", ,
off styles:{italic}}
set style of (text style ranges of stories whose font is "Times" ,
and style contains bold) to {font:"B Times Bold", ,
off styles:{bold}}
end try
end tell



TIA

Olivier.


  • Follow-Ups:
    • Re: Change Quark fonts attributes
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: ScriptDebugger or Scripter
  • Next by Date: Re: when opening a selection, is there any way to specify the app
  • Previous by thread: Saving EPS files with bleed from Quark
  • Next by thread: Re: Change Quark fonts attributes
  • Index(es):
    • Date
    • Thread