applescript-objc

Logging in AppleScriptObjC in Xcode

I'm writing code in AppleScript to glue an Obj-C Cocoa app to some other stuff. I'm very unfamiliar with AppleScript on also learning Cocoa, so of course I have all kinds of bugs in my code to work out, and I need at least some logging. However, output from the AppleScript 'log' command doesn't seem to end up in XCode's debugger consol...

Cocoa SBridge : how to get the return value (complex type) of applescript

Hello, I'm trying since one month to create an application that detects the current track of iTunes to tag the song and calculate the bpm (through a taping button) When the user modifies one of the field of the tag, the track is locked in the application : that means : if iTunes currentTrack changes, my application stay on the previous...

Is it possible to know referrer for GURL call received via AppleScript event?

I have a protocol handler associated with my Cocoa application. [[NSAppleEventManager sharedAppleEventManager] setEventHandler:self andSelector:@selector(getUrl:withReplyEvent:) forEventClass:kInternetEventClass andEventID:kAEGetURL]; ... - (void)getUrl:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDesc...