lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> On OSX, you can invoke osascript with a tiny little AppleScript to pop open a message box

This scripts work for me but I haven't tried in recent Mac OS X.

% cat alert

#!/bin/sh

osascript <<EOF
tell application "Finder"
        activate
        beep
        display alert "$*"
end tell

return
EOF