Joel, I've also got to change getURL to def getURL(event, returnEvent) # do something with event here to parse the url end so I go with your suggestion, I'm going to get 'wrong number of arguments (0 for 2)' On Jan 10, 5:59 pm, Joel Reymont <joe...@gmail.com> wrote:
On Jan 10, 2011, at 5:52 PM, Martin Hawkins wrote:
sharedAEManager.setEventHandler(self, andSelector:getURL(event, withReplyEvent:returnEvent), forEventClass:kInternetEventClass, andEventID:kAEGetURL)
This does not produce any errors:
sharedAEManager.setEventHandler(self, andSelector:getURL, forEventClass:KInternetEventClass, andEventID:KAEGetURL)
---http://wagerlabs.com| @wagerlabs |http://www.linkedin.com/in/joelreymont
_______________________________________________ MacRuby-devel mailing list MacRuby-de...@lists.macosforge.orghttp://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel