• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making Scripting Addition with Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making Scripting Addition with Cocoa


  • Subject: Re: Making Scripting Addition with Cocoa
  • From: Lorenzo <email@hidden>
  • Date: Mon, 28 Jul 2003 21:22:59 +0200

No,
I don't want to write e Scripting Addition. You say well, Scripting Addition
is the work of the devil. So heavy to develop, so complicated.
What I hope to do is such a library my friend has to include in his project.
Can I do something like that?


Best Regards
--
Lorenzo
email: email@hidden

> From: matt neuburg <email@hidden>
> Date: Mon, 28 Jul 2003 12:44:43 -0700
> To: Lorenzo <email@hidden>
> Cc: email@hidden
> Subject: Re: Making Scripting Addition with Cocoa
>
> On Mon, 28 Jul 2003 17:52:02 +0200, Lorenzo <email@hidden> said:
>> Hi,
>> I have a friend developing AppleScript code only.
>> Sometimes he asks me to build a Scripting Addition to increase the speed of
>> his routines. And in MacOS 9 I did that.
>>
>> Now I would like to do the same with Cocoa. I already know how to pass him
>> the Cocoa code so he can call my methods using callMethod. But I would like
>> to give his something already compiled like a Scripting Addition or a
>> library he can include and call in his AppleScript code.
>>
>> Do you know some simple way to do that?
>
> (1) Don't write a scripting addition. Scripting additions are the work of the
> devil.
> Write a scriptable app.
>
> (2) Okay, I can see that I failed to convice you in the previous paragraph.
> So, to write
> a scripting addition, do it just as you did before. You can't write a
> scripting addition
> in pure Cocoa; you must link against Carbon. There's a template at Chris
> Nebel's site.
> Just fill in your code:
>
> http://homepage.mac.com/c.nebel
>
> m.
>
> PS Whatever you do, don't watch the Monty Python movie.
>
> --------
> matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
> pantes anthropoi tou eidenai oregontai phusei
> Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Making Scripting Addition with Cocoa
      • From: Don Briggs <email@hidden>
  • Prev by Date: Shadow below inactive button placed in toolbar
  • Next by Date: Re: Making Scripting Addition with Cocoa
  • Previous by thread: Re: Making Scripting Addition with Cocoa
  • Next by thread: Re: Making Scripting Addition with Cocoa
  • Index(es):
    • Date
    • Thread