• 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: "Bourque, Jason" <email@hidden>
  • Date: Thu, 16 Nov 2000 11:44:35 -0500

Thank you, future snippets will be tested before submission.

Although the concept may be sound but without testing I agree it is
dangerous to suggest to others.

Thanks for the Quark syntax correction.

Jason Bourque
MFS Investment Management


> ----------
> From: Hans Haesler
> Sent: Thursday, November 16, 2000 11:37 AM
> To: AS lists
> Subject: RE: Quark Paragraph Numbers and other QuarkNewbie Questions
>
> On Thu, 16 Nov 2000, Jason Bourque wrote:
>
> >Your repeat loop could be replaced with
> >
> >copy return & tab to front of every paragraph of selection
> >copy return to end of every paragraph of selection
>
> You're right but you didn't test your snippets did you?
>
> The first one doesn't need the second line (in fact it generates
> an error message because the selection is gone).
> This works:
> ---
> tell application "QuarkXPress 4.11"
> copy return & tab to front of every paragraph of selection
> end tell
> ---
>
> The second snippet won't even compile. You'd better use something like:
> ---
> tell document 1 of application "QuarkXPress 4.11"
> set every character of every story where it is "a" to "b"
> end tell
> ---
>
> And it will be much faster when you replace 'character' by 'text':
> ---
> tell document 1 of application "QuarkXPress 4.11"
> set every text of every story where it is "a" to "b"
> end tell
> ---
>
> Hans
>
> ---
> Hans Haesler | email@hidden


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