Hello
I made a very basic PyObjc growl app (using a template from the web).
Though it runs and registers itself with Growl (I can confirm from th
System prefs, it also correctly reflects the type of notifications),
no notification is displayed.

Regards
Saptarshi
I linked to the app at  http://www.stat.purdue.edu/~sguha/axa.zip
Info:

>From axaAppDelegate.py
=====================
from Foundation import *
from AppKit import *
import objc,os
objc.loadBundle("GrowlApplicationBridge"
                ,globals()
                ,bundle_path=objc.pathForFramework(
                    "/Library/Frameworks/Growl.framework"))

class axaAppDelegate(NSObject):
    def applicationDidFinishLaunching_(self, sender):
        NSLog("Application did finish launching.")
       GrowlApplicationBridge.setGrowlDelegate_(self)
 
GrowlApplicationBridge.notifyWithTitle_description_notificationName_iconData_priority_isSticky_clickContext_
(
                u"Alert",
                u"Hello Frome me",
                u"Example",
                None,
                2,
                True,
                None)


and the dictionary file
================

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
   Growl Registration Ticket.growlRegDict
   DeadlineGrowl

   Created by Alex on 19/04/2009.
   Copyright 2009 Helicoid Limited. All rights reserved.
-->
<plist version="1.0">
    <dict>
                <key>TicketVersion</key>
                <integer>1</integer>
                <key>AllNotifications</key>
                <array>
                        <string>Example</string>
                </array>
                <key>DefaultNotifications</key>
                <array>
                        <string>Example</string>
                </array>
    </dict>
</plist>


--

You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.


Reply via email to