Jack Jansen | 7cc5735 | 1998-08-18 14:54:11 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
| 19 | OSAError CompileAndExecute (const char *text, |
| 20 | AEDesc *result, |
| 21 | OSAActiveUPP proc); |
| 22 | |
| 23 | OSAError CompileAndSave (const char *text, |
| 24 | const char *outfile, |
| 25 | OSAActiveUPP proc, |
| 26 | AEDesc *result); |
| 27 | |
| 28 | OSAError ExecuteScriptFile (const char *theFile, |
| 29 | OSAActiveUPP proc, |
| 30 | AEDesc *result); |