• 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
Re: Re: URL Access Scripting completion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>


  • Prev by Date: Re: Panorama and AppleScript
  • Next by Date: Re: Specifying OS X/9 versions of an app [LONG] [WAS: Re: why won't this compile?]
  • Previous by thread: Re: URL Access Scripting completion
  • Next by thread: Post Data
  • Index(es):
    • Date
    • Thread