• 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: Extracting info from Quark 4 stylesheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extracting info from Quark 4 stylesheets


  • Subject: Re: Extracting info from Quark 4 stylesheets
  • From: Hans Haesler <email@hidden>
  • Date: Fri, 20 Jul 2001 08:39:24 +0200

On Thu, 19 Jul 2001, David Minehart wrote:

>My project of extracting data from Quark stylesheets has hit another little
>snag. (...)

>(...) but the paragraph attributes are all weird and wordy, (...)

>Anyone know why the second and subsequent passes through this loop yield
>garbage from the paragraph attributes of the style specs?

David,

scripting style specs in QXP 4.x is broken, i.e. you can't create
them or extract the definitions directly (as we could using v3.32).

We have to live with these bugs since October 1998, when v4.04, the
first usable 4.x version came out. Reports have been submitted,
confirmed and logged -- but nothing has been done in 4.1 and 4.11.


My workaround for getting the definitions:
- create a text box
- get the list of the style specs, sort it, copy it in the box
- loop through the paragraphs and apply the style specs
- loop through the paragraphs and extract all attributes

While doing the last step, it is important that you _select_ the
current paragraph. Else, all info about rule above/below will refer
to the first paragraph.

My script is way too long for posting it here. Feel free to come
back in case you'll need any help.

Regards,

Hans

---
Hans Haesler | email@hidden


  • Follow-Ups:
    • alert windows
      • From: Mirko Gude <email@hidden>
References: 
 >Extracting info from Quark 4 stylesheets (From: email@hidden)

  • Prev by Date: Re: SOAP and XML with AppleScript?
  • Next by Date: Re: AS Problem
  • Previous by thread: Extracting info from Quark 4 stylesheets
  • Next by thread: alert windows
  • Index(es):
    • Date
    • Thread