script to eject a cd from a G4 ibook

i am troubleshooting an ibook where the user inserted a pc cd rom into a G4 ibook running 10.3.9

the trackpad does not work and the cd is not seen at all, nor will it eject!

i’ve tried everything, reset nvram, pmu, even reimaged the ibook off an extl hd. i am hoping there is a simple applescript to eject this disc. unfortunately i don’t know the name of the cd rom.

if anyone has any ideas that would be great thanks!

Model: iBook G4
AppleScript: 1.9.3
Browser: Safari 125.9
Operating System: Mac OS X (10.3.9)

I have some code in the Code Exchange Section that will help you in the right direction.

http://bbs.applescript.net/viewtopic.php?id=11399

Model: iMac DV (summer 2001)
AppleScript: 1.9.3
Browser: Safari 312
Operating System: Mac OS X (10.3.9)

plug in an USB mouse.
open applications > utilities > disk utility and try using that.

this code will eject all ejectable disks but if its not mounted then i doubt it will work but any way.

tell application "Finder"
	set diskList to every disk whose ejectable = true
	repeat with d in diskList
		eject d
	end repeat
end tell

Model: iBook
AppleScript: 1.9.3
Browser: Safari 312
Operating System: Mac OS X (10.3.9)