Apple Events and Frontier
Nick Cahill
ndcahill at facstaff.wisc.edu
Mon Oct 21 14:47:25 PDT 2002
I have been having trouble with Frontier passing Apple Events to
Filemaker. I'm writing local html files from a Frontier outline, and
uploading them to my university web server. Part of the script looks up
an image archive number in a Filemaker database. The Frontier export
script includes:
with ObjectModel, FileMaker {
local (DBRow);
result = exists (record[cell[1] == curImage]);
if result == false {
dialog.alert ("couldn't find " + curImage)};
DBRow = get(record[cell[1] == curImage]);
«returns archive; catalog; caption; shape; painter; short description
if typeOf (DBRow[1]) == "list" { « found more than 1 record; select
the first by default
DBRow = DBRow[1]};
curArchive = DBRow[1];
curObject = DBRow[2];
if curCaption == "" {
curCaption = DBRow[2] + ": " + DBRow[3]};
curType = DBRow[7];
Perseus2CDFolder = DBRow[8]}
and so forth.
The script will run for a while, then Filemaker "unexpectedly quit."
This is using Filemaker 6.0v3 and Frontier 9. The scheme worked
flawlessly on Frontier 5, 6, and so forth under Mac OS 9, and then has
been giving me grief under the various flavors of OS X. It stopped
working with about Frontier 8.0.5; was fixed for a while in the
AppleEvents beta 8.0.7, and I assume those fixes were incorporated into
9. But now with OSX 10.2, it doesn't work again. I remember someone on
the list mentioning that AppleEvents seem to work differently in 10.2
than they did in 10.1. I really don't want to go back to 10.1, but I
can't get this to work reliably.
Does anyone have a good suggestion, or an alternative to Filemaker? The
database is simple, and could be ported to some other software if that
was more reliable.
Many thanks for any advice,
Nick Cahill
More information about the Frontier-Users
mailing list