CompuServe Messages

#App switching with AS

    15-Mar-94 01:05:26
Sb: #App switching with AS
Fm: Mark Altenberg 70762,3304
To: all
I'm having a few Applescript problems that are driving me up the wall. I'm using Applescript 1.1 with the scriptable Finder on System 7 Pro on a Quadra 800, and my problems seem to occur when I switch between scriptable applications. I've written a script that activates Filemaker Pro at a certain point, then executes a DoScript command that activates a Filemaker script which imports some records into a master database. The problem occurs when I open the database into which I am importing. I use a Quickeys PlaybyName command to open the Filemaker database using the password assigned to it. The script successfully opens the Filemaker database, but once it is open the script seems to lag there and not execute the Filemaker script as it is supposed to. The only way to re-activate the script is to manually switch over to Applescript through the application menu, or by clicking on the actual script's window, if it is open. Only then does the script continue to run. I've had this problem with a number of other scripts, where a scripts lags until a statement either times out, or I re-activate Applescript. I'd like to know if this is an Applescript design flaw, or a problem with the scripts that I'm writing. Mark