• 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: David Austin <email@hidden>
  • Date: Thu, 1 May 2003 07:17:18 -0700

On Thursday, May 1, 2003, at 06:43 AM, A. Sasaki 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


-----------------------
David Austin
_______________________________________________
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.

References: 
 >Quark XPress styles? (From: "A. Sasaki" <email@hidden>)

  • Prev by Date: Quark XPress styles?
  • Next by Date: Re: Writing a script that *unmounts* servers
  • Previous by thread: Quark XPress styles?
  • Next by thread: Re: Quark XPress styles?
  • Index(es):
    • Date
    • Thread