• 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: What's the story with OSAScriptController and OSAScriptView.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the story with OSAScriptController and OSAScriptView.


  • Subject: Re: What's the story with OSAScriptController and OSAScriptView.
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 08 Feb 2008 16:51:45 -0500
  • Thread-topic: What's the story with OSAScriptController and OSAScriptView.

on 2008-02-08 10:48 AM, email@hidden at email@hidden
wrote:

> OSAScriptController and OSAScriptView objects now appear in IB under
> "Open Scripting Kit".
> An #import <OSAKit/OSAKit.h> satisfies the compiler as does linking
> to /system/library/frameworks/OSAKit.framework.
>
> However, there seems to be zero in the way of documentation or example
> code.
>
> Are these objects generally approved for use despite their
> undocumented nature?

I use another class in OSAKit, instead of NSAppleScript, to run scripts in
my applications, because OSAKit (which has an API that overlaps
NSAppleScript) was fixed quite some time ago to properly save persistent
properties in scripts. NSAppleScript has never done that properly. An Apple
engineer advised me over a year ago that OSAKit is perfectly usable. I
understand that at least some parts of it are used by Automator, and maybe
even by Script Editor.

I've been after Apple to document this for a year or two, without visible
results.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com

PreFab Software - www.prefabsoftware.com


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >What's the story with OSAScriptController and OSAScriptView. (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: libPng.dylib: "file is not of required architecture"
  • Next by Date: Re: My app breaks when moved while running
  • Previous by thread: What's the story with OSAScriptController and OSAScriptView.
  • Next by thread: Re: What's the story with OSAScriptController and OSAScriptView.
  • Index(es):
    • Date
    • Thread