ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Control Your Mac from Afar
Subject:   Instead of using applscript to talk...
Date:   2004-10-19 12:27:33
From:   maymay
You can just use the Mac's built-in say command.

say "Listen to me talk to you."

instead of

sudo osascript -e 'say "Listen to me talk to you."'

Both commands have the same effect.