• 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: Calling AppleScripts from Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling AppleScripts from Obj-C


  • Subject: Re: Calling AppleScripts from Obj-C
  • From: Nathan Day <email@hidden>
  • Date: Wed, 07 Jul 2004 13:27:19 +1000

Have a look at my NDAppleScriptObject project on my web site, it comes with a category of NSAppleEventDescriptor that does all sorts of conversion between Objective-C and AppleScript as well as creating descriptor for calling AppleScript subroutines, I wrote it for use with NDAppleScriptObject but it can be use with NSAppleScript also. You can get it at <http://homepage.mac.com/nathan_day/>

On Tuesday, July 06, 2004, at 07:08PM, Simone Manganelli <email@hidden> wrote:

>I'm trying to find a way to access script subroutines using a call from
>Obj-C/Cocoa. I know that there's the NSAppleScript class, but that
>seems to only allow you to create new scripts and execute them -- I
>want to call a subroutine of an already active AppleScript that has
>internal variables and such (this script is included in the project and
>drives some of the interface, and therefore has some needed values).
>Is there any way to do that? Any help would be much appreciated.
>
>-- Simone Manganelli
>_______________________________________________
>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.
>
>
>


Nathan Day
email@hidden
http://homepage.mac.com/nathan_day/
_______________________________________________
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.


  • Prev by Date: Re: Use different window than File Owner's in NIB
  • Next by Date: Custom view crashes app for some
  • Previous by thread: Re: Calling AppleScripts from Obj-C
  • Next by thread: split class implementation in two or more files
  • Index(es):
    • Date
    • Thread