blob: dda7bbb0c1f6a171ebf7db7d8a0fa19121324ef2 [file] [log] [blame]
Jack Jansen7cc57351998-08-18 14:54:11 +00001/*
2 *
3 * This is a simple module to allow the
4 * user to compile and execute an applescript
5 * which is passed in as a text item.
6 *
7 * Sean Hummel <seanh@prognet.com>
8 * 1/20/98
9 * RealNetworks
10 *
11 * Jay Painter <jpaint@serv.net> <jpaint@gimp.org> <jpaint@real.com>
12 *
13 *
14 */
15#pragma once
16
17#include <OSA.h>
18
19OSAError CompileAndExecute (const char *text,
20 AEDesc *result,
21 OSAActiveUPP proc);
22
23OSAError CompileAndSave (const char *text,
24 const char *outfile,
25 OSAActiveUPP proc,
26 AEDesc *result);
27
28OSAError ExecuteScriptFile (const char *theFile,
29 OSAActiveUPP proc,
30 AEDesc *result);