Le 23 août 06 à 19:15 Soir, Craig Hoyt a écrit:
Several months work is starting to unravel. One big issue I need
help on. It seems folderitem.count returns 0 on audio cd's and
therefore can't read the CD directory. Is this an OS problem or RS
problem? Are there any known workarounds? Help!
Indeed, that's a strange bug.
The workaround I've found:
an appleScript:
on run {x}
set y to x as integer
tell application "Finder"
set i to count items of disk y
end tell
return i
end
Call it so:
dim s as string
s=MyScript("1") 'The volume number. Or you can pass a path by
modifying the script
This requires the Finder to be open (but, if it's not, it is opened
when the script runs)._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>