RE:Quark (mainly) + FileMaker Pro kafuffle
RE:Quark (mainly) + FileMaker Pro kafuffle
- Subject: RE:Quark (mainly) + FileMaker Pro kafuffle
- From: mick wenlock <email@hidden>
- Date: Tue, 23 Oct 2001 12:26:07 -0600
paul mccabe kampu <email@hidden> wrote:
Subject: Quark (mainly) + FileMaker Pro kafuffle
G'day ASlist,
I'll keep this as short yet succinct as possible.
The script is gathering all the information it needs from a FileMaker
database, sorting and organizing it to be inserted into a multi-paged,
text box linked Quark file. The file, at this time, has 6 pages that
contain nothing but empty text boxes (each page has one text box that's
linked to the text box on the next page). The text is being 'poured'
into these text boxes. I don't know how many pages of text will,
ultimately, be needed in the document.
The sub-routine below is being called from a repeat loop in another
sub-routine. The part I'm stuck on is the 'tell text box 1' below. Works
fine for page 1 but that's all (naturally).
on nameLocation(i, theFullName, theLocation)
tell application "QuarkXPress 4.11"
--activate
tell document 1
-- \|/ \|/ this is where the problem comes up.
tell text box 1--
set text of last paragraph to theFullName & return
set text of last paragraph to theLocation & " " & return
--" " this is a soft return (although it doesn't look like one here)
end tell
-- /|\ /|\ I'm stuck!
end tell
end tell
end nameLocation
I think I'm too close to the project to be objective about how to fix
the problem (although I know where the problem is, basically).
It's time to get a little air.
Thanks, in advance, for your help.
I am assuming that this is not an auto text box situation.Text box 1 of
document 1 is the text box, presumably, on page 1. You need to address story
1 of text box 1 - the story continues through the linked boxes. If you try
to address the last paragraph of the text box you are going to get
inconsistent results depending on whether you have a paragraph that spans
the linked box.
Mick
Quark Script Support