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

RE: Quark Scripting


  • Subject: RE: Quark Scripting
  • From: "Sprague, Graham" <email@hidden>
  • Date: Wed, 4 Jun 2003 17:04:22 -0400

I'm using QuarkXpress 4.11. This does not work for me either.
> tell document 1
> get text box 1 of story 1 of text box 3
> end
>
>
I think I found a way to do it. I can loop through all the text boxes and
only act on the text boxes whose "previous text box" is null and get the
text from all the boxes using "story 1". Thay way I will always get the
first box in a chain whether it's linked or not. Then if I find a box that
has a "next text box" I can loop through each box in the story to get the
coordinates and then do some math to determine the square inches.

> ----------
> From: Matthew Walworth
> Sent: Wednesday, June 4, 1997 2:04 PM
> To: email@hidden
> Subject: RE: Quark Scripting
>
> What version of XPress are you working in? In QXP 5, you can use syntax
> like:
>
> tell document 1
> get text box 1 of story 1 of text box 3
> end
>
> to return the text box that the story begins in. "Every text box of
> story 1 of text box 3" will get you a list of all the boxes in the
> story. It doesn't appear to work in 4.11 though.
>
> ...matthew...
>
> On Wednesday, June 4, 2003, at 10:28 AM,
> email@hidden wrote:
>
> > The Problem:
> >
> > When I have an item that has two linked text boxes the only way I can
> > seem
> > to extract this linked data as one unit is to refer to it as a story.
> > Refering to the data as a story seems to close me off from accesing
> > any data
> > about the text boxes the story is in.
> _______________________________________________
> 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.
_______________________________________________
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.

  • Prev by Date: Re: list question
  • Next by Date: RE: Quark - search and replace
  • Previous by thread: RE: Quark Scripting
  • Next by thread: Default Path on OSX
  • Index(es):
    • Date
    • Thread