• 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: Need to script tracking in multiple Quark files-correction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Need to script tracking in multiple Quark files-correction (From: "Ethan Rips" <email@hidden>)

  • Prev by Date: Re: Eudora AppleScript Question...
  • Next by Date: Re: Replace_chars Subroutine just doesn't work for me
  • Previous by thread: Re: Need to script tracking in multiple Quark files-correction
  • Next by thread: Re: Need to script tracking in multiple Quark files-correction
  • Index(es):
    • Date
    • Thread