AppleScript/AppleEvents in Cocoa
AppleScript/AppleEvents in Cocoa
- Subject: AppleScript/AppleEvents in Cocoa
- From: Joe Howard <email@hidden>
- Date: Fri, 14 Sep 2001 17:55:20 -0700
I've been looking at the documentation for NSAppleEventManager,
NSScriptCommand, etc.. and I can't seem to understand how I would make
an AppleScript or AppleEvent call. (i.e. "tell application
Finder ...;") If anyone could show me a little snippet of code that
shows how to tell the Finder to perform an action, that'd be swell. If
this involves making a Carbon call, I should probably let it be known
that I've never really used Carbon. So in that case you might need to
dumb it down a little.
Thanks,
Joe Howard