Re: Re: URL Access Scripting completion
Re: Re: URL Access Scripting completion
- Subject: Re: Re: URL Access Scripting completion
- From: macgix <email@hidden>
- Date: Sat, 29 Dec 2001 14:43:06 +0100
am 29.12.2001 06:11 Uhr schrieb email@hidden
unter email@hidden:
>
> Even though it's supposed to return a valid file, it returns a value
>
> BEFORE the file even exists,
>
>
The only solution I have found, after much trying, is the wait
>
procedure that you - and I - don't like. I have found that waiting
>
for the file size to be about what I expect helps.
I experienced this a lot often in OS 9. A workaround is this. Assumed that x
is the file spec as an alias:
--
tell app "Finder"
repeat
if exists x then exit repeat
end repeat
end tell
--
Think its because of the harddrive's volume cache. The system has finished
writing the file and already closed it, but it's still in the cache and not
stored onto the drive physically. So we will have to wait for it.... :(
Thomas
____________________________________
Thomas Johannes Matthias Kuehner
<email@hidden>
<
http://www.macgix.com>