Re: Finder Network File Copy Timeout
Re: Finder Network File Copy Timeout
- Subject: Re: Finder Network File Copy Timeout
- From: Laine Lee <email@hidden>
- Date: Thu, 03 Jul 2008 11:26:52 -0500
- Thread-topic: Finder Network File Copy Timeout
On 7/3/08 3:55 AM, "Damon Casey" <email@hidden> wrote:
>
>> Here's an offhand idea. Turn the script into an application and see
>> if the same thing happens when you open it in Finder. If the new
>> app's job is completed successfully, then make FileMaker run a
>> script that launches the app you just created instead of the original
>> script.
>> --
>> Laine Lee
>
> Hi Laine,
>
> I ran the FileMaker script yesterday with the Script Debugger active
> in FileMaker Pro Advanced and stopped at the Perform AppleScript
> script step. I switched to Late Night Software's Script Debugger and
> ran the AppleScript from there and the timeout error didn't occur.
> I'll now try saving the script as an application and have FileMaker
> launch it instead.
>
> My question is, why would the script ignore the with timeout statement
> when being run from within FileMaker but perform correctly when run in
> Script Debugger?
I suspect that FileMaker's scripting implementation wraps around yours so
that the result is something that might be described as a script within a
script. The only problem is that while you can modify your script, you can't
touch the scripting used by FileMaker, it's set at the factory (although
maybe you can submit a bug report). I apply the same general perspective to
what happens under certain circumstances when you run a do shell script. The
way I look at it, you have to break the link between the processes so that
they can work independently of each other. Technote 2065 describes the
solution of adding "> /dev/null 2>&1 &" to accomplish this for a do shell
script, I just made the same sort of suggestion for your FileMaker
situation.
I'm not the best at explaining, and I may have just made a lucky guess. The
real cause may not have anything to do with what I'm talking about. Anybody
can hit one out of 50.
--
Laine Lee
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden