• 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
OSA error in Filemaker script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OSA error in Filemaker script


  • Subject: OSA error in Filemaker script
  • From: Jason Davies <email@hidden>
  • Date: Sat, 13 Apr 2002 00:55:01 +0100

I have almost completed a database for a local voluntary group in FM 5.5. The
idea is that it will move from machien to machine and run in FM 5 or 5.5 under
any OS from 8.0 to X.1.3 (or higher). Part of it involves sorting the find
results from a FM script using AS as follows.

tell application "FileMaker Pro"
sort by {field "first name", field "last name"}
end tell

Because this gets called many times I made it a separate script and invoke it in
the relevant FM scripts (so they look like, e.g.

Enter Find Mode
Insert text (paid?)
Perform Find
Perform Applescript (sort by first and last name)

So: when i ran this it beeped OSA error and didn't sort them. I dug out the
script, copied and ran it in Script editor, it compiled and ran and thereafter
the database worked smoothly. This is not practical: the people concerned often
struggle to turn on their machines correctly (thus a FM database that doesn't
let them make a lot ofmistakes, with buttons that describe the script fundction
in detail). What I want to know, if you can help with this, is how I can avoid
this happening. Since that machine now runs it fine I can't test whether other
strategies will work. Does anyone know what is going on here?
_______________________________________________
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.

  • Prev by Date: In praise of "do script" (and the AppleScript team)
  • Next by Date: event handler - AIM buddy changed
  • Previous by thread: Re: In praise of "do script" (and the AppleScript team)
  • Next by thread: event handler - AIM buddy changed
  • Index(es):
    • Date
    • Thread