4 * An extended NSAppleScript that allows any OSA language.
6 * Original Author : Kent Sutherland <ksutherland@ithinksw.com>
7 * Responsibility : Kent Sutherland <ksutherland@ithinksw.com>
8 * Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
10 * Copyright (c) 2002 - 2004 iThink Software.
15 #import <Foundation/Foundation.h>
16 #import <Carbon/Carbon.h>
18 @class ITOSAComponent;
20 @interface ITOSAScript : NSObject {
22 ITOSAComponent *_component;
26 - (id)initWithContentsOfFile:(NSString *)path;
27 - (id)initWithSource:(NSString *)source;
31 - (ITOSAComponent *)component;
32 - (void)setComponent:(ITOSAComponent *)newComponent;
34 - (BOOL)compileAndReturnError:(NSDictionary **)errorInfo;
37 - (NSAppleEventDescriptor *)executeAndReturnError:(NSDictionary **)errorInfo;