Closed colindean closed 9 years ago
Try it
<script type="text/javascript">
if (macgap.notice) {
macgap.notice.notify({title: 'MacGap', content: 'Using native OS X notifications'});
} else {
macgap.growl.notify({title: 'MacGap', content: 'Using Growl notifications'});
}
</script>
@BelinChung Are you saying it does work ok, using your code sample?
@jeff-h I found the code in https://github.com/MacGapProject/MacGap1/pull/60. And I build my application based on MacGap2, so maybe it running. :)
Notify.notify()
in MacGap 2 has been deprecated. See the docs at:
http://docs.macgap.com/ref/notify.html
and
MacGap.notify()
at http://docs.macgap.com/ref/macgap.html
From the API reference:
Also tried
Receives: