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