Terminal Opening CD drive

trainguy77

macrumors 68040
Original poster
Nov 13, 2003
3,567
1
Can you open you CD drive from Terminal. I found ways to eject media but I want to open the drive when nothing is in it.(emac) I really am just wondering if it can be done.

Also can you have terminal display a text bubble/alert on the screen?
 

robbieduncan

Moderator emeritus
Jul 24, 2002
24,638
61
Harrogate
You can use Applscript from the Terminal to display a dialog. You cannot call display dialog directly, but you can have the Finder do it for you:

osascript -e 'tell application "Finder" to display dialog "Your message here"'