Mavericks gives us "Notification Support for LiveCode" :-)
rolf.kocherhans at id.uzh.ch
Wed Oct 23 09:36:56 EDT 2013
Well, not really - but Mavericks gives us "Notification Support"
for AppleScript and we can use AppleScript in LiveCode.
It does work very well, the icon of the app sending the AppleScript
will also be in the notification window !
In case anyone is interested, here is an example:
put "LiveCode" && the environment into tTitle
put "vers." && revAppVersion() into tSubtitle
put long system time & "," && the long system date into tNotification
displayNotification tTitle, tSubtitle, tNotification
command displayNotification tTitleText, tSubtitleText, tNotificationText
put "display notification "& quote & tNotificationText & quote &\
" with title " & quote & tTitleText & quote &" subtitle "& quote &\
tSubtitleText & quote &""& return & ""into tAppleScriptCode
do tAppleScriptCode as AppleScript
More information about the Use-livecode