Thursday, December 30th, 2004
PyObjC 1.2 was released last night. And here's the first VoodooPad plugin written in it. Talk about super easy to do...
def didRegister(self): pluginManager = self.pluginManager()
#imagine this was on one line: pluginManager.addPluginsMenuTitle_withSuperMenuTitle target_action_keyEquivalent_keyEquivalentModifierMask( u"Say Hello World", u"Python", self, "pluginCall:", "", 0 )
download the source, type "python setup.py py2app" in the terminal to build. Double click the plugin to install.
(Updated to use unicode strings- hint via Bob Ippolito)
-- posted 10:21 am