Kerry Thompson kindly wrote:
>A bit of a correction to one of my earlier posts. You can use Buddy's
>baDiskInfo to find the volume name of a CD on Windows only. It's not a Mac
>function, though. Well, the DiskInfo function is available on the Mac, but
>you apparently can't get the volume name like you can on Windows.
On the Mac you could do this:
put text file on every CD-rom on the same position. It can have any name
lets say its called ID.
Now repeat through all volume names of your CD set and do the following:
repeat with volumeName in ["MyCD1", "MyCD2", "MyCD3", "MyCD4"]
if baFileExist(volumeName & ":ID" then exit repeat
end repeat
volumeName now holds your volume name.
Or, much simpler, you can put the volume name in a text file and put that
on every CD-Rom. Just name the files the same and read the *contents* of
the file.
No Xtra needed and crossplatform too!
--
--
mare
The OSControl Xtra
This sprite Xtra draws various UI-controls like push buttons, bevel
buttons, checkboxes, scrollbars and now also popup menus/dropdown lists in
the OS appearance on both Macintosh and Windows. Works in Shockwave too!
More info: <http://www.peghole.com/xtras>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]