• 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 Paragraph Numbers and other QuarkNewbie Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark Paragraph Numbers and other QuarkNewbie Questions


  • Subject: Re: Quark Paragraph Numbers and other QuarkNewbie Questions
  • From: Xandra Lee <email@hidden>
  • Date: Wed, 22 Nov 2000 00:27:58 -0500

Shane,
Thanks this is precisely the kind of info I find helpful when I'm first
working with scripting a program.

xandra


>On 20/11/00 10:28 AM +1000, Xandra Lee, email@hidden, wrote:
>
>> set oldSize to size of (first character of the selection)
>> my reduceSize(oldSize, reduceBy)
>> set newSize to the result
>> set size of ((first character of every paragraph) of the selection) to
>> newSize
>
>You're doing some unnecessary work there. Just use:
>
> set oldSize to size of (first character of the selection) as real
> set size of ((first character of every paragraph) of the selection) to
>(oldSize - reduceBy)
>
>QXP lets you coerce freely between units and numbers, and if given a real
>for type size assumes you mean points.
>
>Als, you don't have to use option-spaces in things like "10 pt" (it's used
>in results because QXP uses it that way in its palettes, where the smaller
>type makes a normal space almost disappear).
>
>--
>Shane Stanley, email@hidden


Alixandra Leigh
AceDesign
email@hidden
------------------------------------------
Furniture:
><http://home.rochester.rr.com/alexleighs/furniture/furniture.htm>
Renderings:
><http://home.rochester.rr.com/alexleighs/interiors/interiors.htm>


  • Prev by Date: Eudora select
  • Next by Date: Re: More Mac Ghost
  • Previous by thread: Re: Quark Paragraph Numbers and other QuarkNewbie Questions
  • Next by thread: Re: Most Scriptable Apps
  • Index(es):
    • Date
    • Thread