Re: NSAppleScript seems slow...
Re: NSAppleScript seems slow...
On Mon, Mar 10, 2003 at 07:37:41PM +0100, email@hidden wrote:
>
The following is the complete source code of a little Foundation tool I
>
made to try some applescripting from cocoa...
>
Sure, it works, with any script (not just my example beep), but the
>
execution time is always very long... About 5-6 seconds... Same thing
>
happens in the java-version of the code.
>
Is it some problem that only I have or is it NSAppleScript that's
>
really slow?
>
I thought it might be faster to run a precompiled script but I get an
>
error when using initWithContentsOfURL of NSAppleScript. Can somebody
>
shed some light on this issue of mine?
Try using a real application instead of a tool. You may be running
into this issue:
<
http://lists.apple.com/archives/applescript-implementors/2003/Feb/19/aecreateappleeventfromco.txt>
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.