• 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: Quark 7 Kerning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark 7 Kerning


  • Subject: Re: Quark 7 Kerning
  • From: Stan Cleveland <email@hidden>
  • Date: Mon, 12 Oct 2009 17:00:26 -0700
  • Thread-topic: Quark 7 Kerning

On 10/12/09 3:11 PM, "Oakley Masten" wrote:

> Ok - Here I go again
>
> Is it possible to adjust kerning in Quark 7 using AppleScript.
>
> If so can I limit it to just a few characters vs the whole block of type?
> I couldn't find anything useful out there.
> The info I did find was not encouraging.
>
> Thanks in advance for any candle in the darkness on this.

Oakley, the following code works here with Quark 6.52:

    tell application "QuarkXPress"
        tell text box 1 of page 1 of document 1
            set charCount to count characters
            repeat with i from 1 to charCount
                if character i is in {"i", "l", "w", "y"} then
                    set kern of character i to -5.0
                end if
            end repeat
            set kern of characters 5 thru 20 to 10.0
        end tell
    end tell

The "i", "l", "w", "y" bit is pure nonsense, but demonstrates addressing one
character at a time based upon some criterion. You can also do a range of
characters, as shown.

HTH,
Stan C.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Quark 7 Kerning (From: Oakley Masten <email@hidden>)

  • Prev by Date: Quark 7 Kerning
  • Next by Date: Re: Clean (re)installing AS - Snow Leopard
  • Previous by thread: Quark 7 Kerning
  • Next by thread: Re: Quark 7 Kerning
  • Index(es):
    • Date
    • Thread