Quark (mainly) + FileMaker Pro kafuffle
Quark (mainly) + FileMaker Pro kafuffle
- Subject: Quark (mainly) + FileMaker Pro kafuffle
- From: paul mccabe kampu <email@hidden>
- Date: Tue, 23 Oct 2001 11:50:34 -0400
- Organization: Kalsea Lane
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.
--
Paul
http://homepage.mac.com/pkampu/ (*not for the faint of heart*)
"No, TRY not. do or do not. There is no TRY." --Yoda(on error handling)