Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Controlling Your Mac with AppleScript and Java
Subject:   Slow?
Date:   2003-03-10 14:09:57
From:   anonymous2
Is it just me, or is this executing VERY slow? Takes like 5 seconds for me to run any of the applications.
Even if I just do a Beep(1) in the script...
As if applescript has to load or something. I just get this when calling applescript from java/obj.c apps, "regular" applescripts execute "speedy" as supposed.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Slow?
    2003-06-12 05:31:06  senjaz [View]

    I've seen this too. Whilst in the debugger you can see that at the point you call execute (Java), executeAndReturnError (Obj-C) a bunch of shared libraries end up being loaded to support the AppleScript runtime. I'm sure this is causing the delay but as yet don't know how to remedy it.

    I've looking into updating the prebindings hoping that this would have some effect but it doesn't appear to be building a prebinding for my app.

    If anyone else can shed some light on this let me know:

    senjaz :at: chaos-engine.com