Re: Quark XPress styles?
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.