• 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-bold uppercase paragraphs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quark-bold uppercase paragraphs


  • Subject: Quark-bold uppercase paragraphs
  • From: Jeremy Sellors <email@hidden>
  • Date: Sat, 11 Aug 2001 19:16:25 -0700

Hi,
I need to set the style of capitalized heading paragraphs to bold in Quark.
tell application "QuarkXPress 4.11"
activate
tell document 1
tell automatic text box
try
delete (every paragraph of story 1 whose contents is "")
-- here I need to set the text style to plain as it arrives in bold.
end try
tell story 1
set paraList to every paragraph as list
repeat with i in paraList
**if ASCII number every character of i is not lowercase
(< 97 and <122) then
**set every character to {style:bold}
end if
end repeat
end tell
end tell
end tell
end tell

I suppose creating a paragraph style would be simplest but I cannot get the
make new style to work
if not (style spec "Name Overlay Style" exists) then
make new style spec at end with properties {name:"Name Overlay
Style", base style:null, etc.,
errors out with can't make some data into expected type.
Any help would be appreciated.
Jeremy Sellors


  • Prev by Date: Re: Listing URLs in open browsers
  • Next by Date: Re: Akua Sweets and Writing long version resource?
  • Previous by thread: Re: Listing URLs in open browsers
  • Next by thread: Quark-bold uppercase paragraphs
  • Index(es):
    • Date
    • Thread