• 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
Re: Quark XPress styles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark XPress styles?


  • Subject: Re: Quark XPress styles?
  • From: "A. Sasaki" <email@hidden>
  • Date: Thu, 1 May 2003 17:24:35 -0400

Thanks.

The part I'm really stuck on is getting every instance of a character-based style sheet and displaying a list of the strings with that particular style. It's to provide feedback to a group of writers and copy editors who are tagging text with no apparent visual style, so they're styling entire sentences, paragraphs, including spaces & punctuation, etc.

Andrew


On Thursday, May 1, 2003, at 03:35 PM, email@hidden wrote:


I've been thru the Quark XPress scripting dictionary and can't seem to
find the correct syntax to get and set the style sheet info for text.
I need to be able to search for text with a given style sheet
(character or paragraph), replace it if necessary, and generate a
report listing the text changed. Any assistance is appreciated...


Here is a start-

-- gets name of style applied
tell front document of application "QuarkXpress"
tell text box 1
get name of style sheet of paragraph 1
end tell
end tell

-- sets style
tell application "QuarkXpress"
tell story 1 of document 1
set style sheet of paragraph 1 to "myStyleSheet"
end tell
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Quark XPress styles?
      • From: "G?ran Ehn" <email@hidden>
  • Prev by Date: RE: Creating a Progress Bar, is it possible?
  • Next by Date: Re: Quark XPress styles?
  • Previous by thread: Re: Quark XPress styles?
  • Next by thread: Re: Quark XPress styles?
  • Index(es):
    • Date
    • Thread