Last modified 6 months ago Last modified on 2011-11-23 04:18:06

| Home | Browse Source | Plugins MacOS X Snow Leopard | Download | Sample

  • Platform: Mac OS X 10.6
  • Version: v11
  • Type: Plugin
  • Current Version: 1.0

Growl II

  • Summary

    This plugin is a 4D implementation of the Growl 1.3 SDK. It focuses on simply posting notifications, using the new "mist" feature, which allows applications to post Growl notifications even if Growl is not installed on the local computer.

1.3 SDK Commands

Growl Get mist enabled

enabled:=Growl Get mist enabled

enabled (LONGINT)

1 if enabled, 0 if disabled.
  • Discussion
Examine whether mist is enabled or not.

Growl Get notification method

success:=Growl Get notification method (method)

method (TEXT)

The name of the call back method.

success (LONGINT)

1, on success.
  • Discussion
Returns the name of the call back method.

Growl POST NOTIFICATION

Growl POST NOTIFICATION (title; description; notificationName; iconData; priority; isSticky; clickContext; identifier)

title (TEXT)

A title for this notification.

description (TEXT)

A description of the notification, which should provide more detail but should not flood the user with information.

notificationName (TEXT)

A name for this notification.

iconData (BLOB)

The default 4D icon will be used if the BLOB size is 0.

priority (LONGINT)

Pass a value between -2 and +2.

isSticky (LONGINT)

1 to make the notification sticky.

clickContext (TEXT)

Pass an empty string if you do not care about call back. The context will be apparent in the process name of the call back method when fired.

identifier (TEXT)

Notification of the same identifier are grouped together.
  • Discussion
Post a Growl notification.

Growl SET MIST ENABLED

Growl SET MIST ENABLED (enabled)

enabled (LONGINT)

1 to enable, 0 to disable.
  • Discussion
Enables or disables mist. Notification with this plugin will not work if mist is disabled.

Growl Set notification method

success:=Growl Set notification method (method)

method (TEXT)

The method name.

success (LONGINT)

1, on success.
  • Discussion
Define the project method that should be called when a notification is clicked or timed out.