Filemaker text formatting
Filemaker text formatting
- Subject: Filemaker text formatting
- From: "Patrick S. Page-McCaw" <email@hidden>
- Date: Mon, 5 Aug 2002 20:13:19 -0700
ok, I'm new to Filemaker and this is probably OT, but what I want to
do is force my Text fields in a simple FM database to be Helvetica
Plain 10 pt. I've set the fields to that as default but, then if I
cut and paste (from a web page) formatted text into a text field, it
remains formatted. Presumably, there is a way to do this without
scripting, but I can't find it in the manual and this is a
scripting list after all.
FM and its dictionary do not seem to recognize font or style
attributes of data so...
What I tried is to get the data from the field (works), convert to
plain text (works?), then paste it back in (works). But the text
styling seems to remain with the field or my coercion is not working.
Consistent with the former, internal text styling is lost (eg
'bolded' words come back in plain text), but the whole of the text is
still in the original font, not the default font.
Most drastically what i tried is:
tell application "FileMaker Pro"
set theText to get data of cell "Description" of database 1
set theText to every character of theText
set theText to theText as string
set cell "Description" of current record of database 1 to
"modified? " & theText
end tell
So, a nudge to a script or a primer on FM text formatting would be
greatly appreciated, thanks
Patrick
_______________________________________________
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.