Hi,
I just try to figure out how to handle the nil problems in RB on OS X
when Spotlight is indexing.
One idea was this, a loop (and it looks that is needed on both read
and write files)
while ReadOk = false and timeOut < 10
Writetofile = f.createTextFile
timeOut = timeOut +1 // just an integer
if WriteToFile = nil then
ReadOk = false
else
ReadOK = true
end if
wend
I have tried the DelayMBS(1), but then my windows is not opened, I
don't know ( not checked ) what the problem is..
Any ideas about this?
Sven E
-----------------------
REALbasic 2007R1 OS X 10.4.9 Intel and 10.4.9 PPC
SEEdit Maxi THE XHTML EDITOR FOR MACINTOSH
http://www.seedit.info
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>