[comp.sys.mac] Detecting Disk Ejection

tomc@mntgfx.mentor.com (Tom Carstensen) (02/19/88)

It there a way to detect when a disk has been ejected
via the <cmd-shift-1/2>, rather than continually poll the
drives to determine what volumes are on-line (in the machine)?

I can detect the keyboard cmd-shift-1/2 event, but there are
other ways to eject the disk (ie the pin-hole in the drive
itself).

Any answers?

:------------------------------------------------------------:
: Tom Carstensen              Usenet: tomc@mntgfx.MENTOR.COM :
: Mentor Graphics             GEnie:  XPC23637               :
:                                                            :
:     . . . and this shall be Max Headroom's finest hour.    :
:                                       - Max Headroom       :
:------------------------------------------------------------: