
Nu funkar det!
Tack för all hjälp!
Code: Select all
def notify(self, noteType, title, description, icon=None, sticky=False, priority=None, id=None):
"""Send a GNTP notifications
.. warning::
Must have registered with growl beforehand or messages will be ignored
:param string noteType: One of the notification names registered earlier
:param string title: Notification title (usually displayed on the notification)
:param string description: The main content of the notification
:param string icon: Icon URL path
:param boolean sticky: Sticky notification
:param integer priority: Message priority level from -2 to 2
"""
Code: Select all
eg.plugins.Growl.Notify(u'RFXtrx', u'test', u'from script', u'', True, 0, None, False)
Users browsing this forum: No registered users and 16 guests