Re: passing parameters to an AppleScript from Objective-C
Re: passing parameters to an AppleScript from Objective-C
- Subject: Re: passing parameters to an AppleScript from Objective-C
- From: Ken Ferry <email@hidden>
- Date: Thu, 17 Feb 2005 00:44:51 -0500
On Wed, 16 Feb 2005 18:46:26 +0000, Finlay Dobbie
<email@hidden> wrote:
> On Wed, 16 Feb 2005 12:17:40 -0500, Daniel Morrow <email@hidden> wrote:
> > I have an app which includes an AppleScript file. I want to load and
> > execute the script, but also pass a parameter to it.
>
> You might find the following useful:
>
> @implementation NSAppleScript(FDExtensions)
>
I also have some code for this.
<http://homepage.mac.com/kenferry/software.html#KFAppleScript>
The main advantage of my version is that it translates between ObjC
objects and descriptors automatically. You don't need to think about
descriptors unless you're doing something complicated.
-Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden