Re: Need to script tracking in multiple Quark files-correction
Re: Need to script tracking in multiple Quark files-correction
- Subject: Re: Need to script tracking in multiple Quark files-correction
- From: "Bob.Kalbaugh" <email@hidden>
- Date: Fri, 24 Oct 2003 20:39:37 -0500
on or about 10/24/03 10:34 AM, Ethan Rips wrote:
>
Thanks for the code<I wasn't quite clear on how to address the style specs
>
in Quark 5. There's a problem, though. Here's what I get when I run the
>
script example (altered to taste, natch):
>
>
"QuarkXPress got an error: Can't set track of character attributes of style
>
spec "B HEADS" of document 1 to "0"."
>
>
Any ideas what the hitch is?
>
>
Thanks.
>
>
Ethan
Well the only thing that I can think of is that maybe you only have a styled
character spec, and NOT a paragraph spec, that relates to "B HEADS".
If that is the case then you can do one of two things. Either create a new
Paragraph style and point it's character attributes to your styled character
spec. (Tip: you can give it the same name.) -OR- alter the earlier script I
provide to this...
tell application "QuarkXPress"
tell document 1
tell character spec "B HEADS"
set track to "0" -- set track amount here
end tell
end tell
end tell
HTH
I have no idea how your styles were set-up and that makes it difficult to
determine an exact solution. I should mention that the code provided by Bill
Metzinger worked fine on my machine, and since you were having difficulty
getting his code to work too, maybe your problems are beyond the scope of
proper syntax. It may help for you to post the problem code for folks to
take a look at.
Good Luck.
--
Bob.Kalbaugh
_______________________________________________
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.