• 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 (mainly) + FileMaker Pro kafuffle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark (mainly) + FileMaker Pro kafuffle


  • Subject: Re: Quark (mainly) + FileMaker Pro kafuffle
  • From: "Bob.Kalbaugh" <email@hidden>
  • Date: Tue, 23 Oct 2001 12:57:10 -0500

Just a thought...

One approach might be to have the loop routine first put the data from
fileMaker into a variable:

set theText to ""

repeat loop -- whatever
set theText to theText & theFullName & return & theLocation & " " & return
end repeat

And then in QXP with a document open containing 1 page with an auto text
box:

tell text box 1 of page 1 of document 1
set paragraph 1 to theText
end tell

Quark will push the text and create as many pages as is needed.

_bob.kalbaugh


10/23/01 10:50 AM, paul mccabe kampu at email@hidden wrote:

> 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)
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >Quark (mainly) + FileMaker Pro kafuffle (From: paul mccabe kampu <email@hidden>)

  • Prev by Date: Re: Scaling large images w/ Akua Sweets
  • Next by Date: AppleScript to get computer name in os X?
  • Previous by thread: Quark (mainly) + FileMaker Pro kafuffle
  • Next by thread: Re: Quark (mainly) + FileMaker Pro kafuffle
  • Index(es):
    • Date
    • Thread