Re: Import a picture into FileMaker without osax
Re: Import a picture into FileMaker without osax
- Subject: Re: Import a picture into FileMaker without osax
- From: David Simerly <email@hidden>
- Date: Fri, 21 Sep 2001 21:14:15 -0700
- Url: http://www.digital-native.com
on 9/21/01 6:49 PM, Steven Angier at <email@hidden> wrote:
>
4. Try to avoid using "Perform AppleScript" to run and/or trigger something
>
in an external AppleScript application. Perform AppleScript will ALWAYS wait
>
for a formal AE reply (for 60 seconds I think). When it doesn't get one, it
>
generates an error in your FileMaker script.
Excellent message, Steve, and very good FileMaker advice. Section 4,
however, needs one minor modification: you can use a "try/end try" block in
the Perform Script script to catch any error that might occur, so you can
exit gracefully or branch to a different operation. Why FMP supports the try
syntax, but not the "with timeout" or "ignoring application responses"
syntax, I don't know. Go figure.
DS
______________________________________
Digital Native
Your guide through the virtual jungle.
______________________________________
Ever Wonder: Why do they sterilize the needle for lethal injections?