• 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
FileMaker and Styled Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FileMaker and Styled Text


  • Subject: FileMaker and Styled Text
  • From: "Chris Nitz" <email@hidden>
  • Date: Fri, 09 Mar 2001 18:02:26 -0800

Is there an application that will "accept" styled text from FileMaker Pro,
so I can get the "styles" out of it?

How well does Tex-Edit Plus work for this sort of thing?

If a $10 shareware program can [almost] do it....why doesn't Quark XPress
understand/translate FileMaker Pro's styled text?

I have recently discovered an application called "Style" that
"understands" FileMaker Styled text.
I am using it to "capture" the "on styles" once it's out of FileMaker and
put in a Style document.
Then I can "carry" those over to quark, and determine style sheets to
assign to the text.

But...I am having some difficulty getting this to work 100% of the time.
At the command: "set contents of document 1 to TheStyledText"
it errors, and dies, with: "Style got an error: Some data could not be
read."

I don't know what I'm doing wrong, here.

I am always referencing the same database, same data, same sort order.

Sometimes it works flawlessly through 100+ records, and sometimes it drops
dead right away.

I have done a complete system (Mac OS 9.1, G4) re-install, and still have
[fatal] errors occur.

Here is the script, stripped down to it's most basic (yet error producing)
components.


-- start AppleScript
tell application "FileMaker Pro"
activate
tell database 1
set TheStyledText to cell "text1" of current record as styled text
end tell
end tell

tell application "Style"
activate
close every window saving no
make new document
set contents of document 1 to TheStyledText -- as styled text
-- loop to capture "on styles" goes here
end tell
--end AppleScript


Style 1.9b1 is available at: http://www.merzwaren.com/

Any words of wisdom would be greatly appreciated.

Thank you in advance.

Chris Nitz
Senior Prepress Systems Analyst
and AppleScript Programmer
Wizards of the Coast Production Dept.
email@hidden


  • Prev by Date: Re: Path from open document to application
  • Next by Date: Re: how to get the zero's out of a list
  • Previous by thread: Can I get the pathname of a file open in a not AS-scriptable application?
  • Next by thread: Re: FileMaker and Styled Text
  • Index(es):
    • Date
    • Thread