• 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
Run an AppleScript from Objective-C?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run an AppleScript from Objective-C?


  • Subject: Run an AppleScript from Objective-C?
  • From: Charles Srstka <email@hidden>
  • Date: Sun, 10 Mar 2002 21:53:41 -0600

Forgive me if this has already been answered. I was unable to find an answer in the archives.

I want to send an AppleScript from Cocoa, programmatically. From what I understand, it is possible to use Carbon for this or to call command-line tools. However, it seems that there must be an easy Objective-C way to do this, because of AppleScript Studio. If the Objective-C NSButton objects are able to execute a script, it must be possible to do this with Objective-C and AppleScript, right? And it just seems that this would be a lot more elegant than using Carbon or command-line tools.

Anyone know how to do this, or know of an FM that I can R?

Thanks,
Charles
_______________________________________________
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: Run an AppleScript from Objective-C?
      • From: Nathan Day <email@hidden>
  • Prev by Date: Icon in NSTabViewItem label
  • Next by Date: TextView resize
  • Previous by thread: Icon in NSTabViewItem label
  • Next by thread: Re: Run an AppleScript from Objective-C?
  • Index(es):
    • Date
    • Thread