Re: AS Problem
Re: AS Problem
- Subject: Re: AS Problem
- From: Malcolm Fitzgerald <email@hidden>
- Date: Fri, 20 Jul 2001 17:06:54 +1000
I've had terrible results trying to work with styled text in FMPro.
The problems were not caused by styled text, as such, but the absence
of any style in the text. Whenever the text was styled the script ran
smoothly, however plain, old text would cause the script to crash, I
had to put the command to "get ... as styled text" into a try block,
when it failed I'd simply "get data".
All,
apologies in advance for cross posting to both FMP/AS lists
I'm looking for someone (Ehsan, Jimmy J?) to confirm something for me
FMP 5/5.5, Mac OS 9.1, AS 1.6
the test db has only a single field and a single record. The field has
only three words in it.
tell application "FileMaker Pro"
set thetext to cell "Field1" of current record as styled text
end tell
Running results in an out of memory error in Script Editor (and a hard
crash in Script Debugger). After re-starting Script Debugger the script
may run once or twice but will then revert to quitting or timing out. It
seems impossibly unreliable.
_however_,
if I apply _any_ style to _any_ character of the text it runs flawlessly.
Runs fine in FMP 4.
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users
--
Malcolm Fitzgerald
Database Manager
The Australian Society of Authors
ph: 02 9318 0877 fax: 02 9318 0530 email: email@hidden
www.asauthors.org www.asauthors.org/award www.asauthors.org/web_of_poets