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: "Ethan Rips" <email@hidden>
- Date: Mon, 27 Oct 2003 13:44:48 -0500
- Priority: normal
On 10/24/03 8:57 PM, "Bob.Kalbaugh" <email@hidden> wrote:
>
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.
Bob<
I've definitely got a B Heads paragraph style (it's actually named "2 B
Heads", but correcting that in the script you provided didn't change the
result, unfortunately). I tried the script above in any case, getting the
same result as before.
Style sheets were built in Quark in the standard way<creating them via the
Style palette, assigning various attributes as required, and then applying
the style sheets to the appropriate text elements<heads, subheads, text,
tables of various kinds, etc.
Could the fact that the documents were built in Quark 4.11 but accessed via
Applescript in Quark 5 make a difference?
As far as problem code is concerned, I've only run the script examples sent
to me by you & Bill Metzinger so far. Given that I'm using a different
version of Quark & a different OS from all of my users, and that I'd had
problems before with syntax differences between Quark 4.11 & 5, I wrote some
simple scripts to figure out Quark's numbering of the various text boxes on
a given page & to access text properties so I could change the tracking.
Right away I ran into the weird error messages & here we are.
Thanks.
Ethan
DISCLAIMER:
The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(A)
_______________________________________________
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.