Caio wins again! Thanks - I was sure I had tried that already. Need to
be a bit more organised I think...
Thanks again.
On Jan 11, 4:49 pm, Caio Chassot wrote:
> On 2011-01-11, at 14:30 , Martin Hawkins wrote:
>
> > sharedAEManager.setEventHandler(self,
> > andSelector: :"getURL:event:withReply
On 2011-01-11, at 14:30 , Martin Hawkins wrote:
> sharedAEManager.setEventHandler(self,
> andSelector: :"getURL:event:withReplyEvent:returnEvent",
> forEventClass: KInternetEventClass, andEventID:KAEGetURL)
> …
>
> def getURL(event, withReplyEvent:returnEvent)
So the selector for that method d
On Jan 11, 2011, at 4:30 PM, Martin Hawkins wrote:
> def getURL(event, withReplyEvent:returnEvent)
...
> Typing 'experimental://' in the Safari address bar produces an error:
> experimental[4759]: -[AppDelegate
> getURL:event:withReplyEvent:returnEvent]: unrecognised selector sent
> to instance
I went back to this today to take it a step further and found my way
blocked - it seems to be a MacRuby thing because this is trivial to
implement in Objective-C.
This code is now:
framework 'Cocoa'
class AppDelegate
def initialize
registerExperimental
@eventDescriptor =
NSAppleEventDes