Speed of Applescript Scripts vs Applets?

Discussion in 'Mac Programming' started by rdelmar, Dec 18, 2008.

  1. rdelmar macrumors newbie

    Joined:
    Dec 15, 2008
    #1
    I have written an Applescript that creates a grading and curving workbook in excel. On a MacBook running Excel 2008, if I run the script from the script editor it takes about 20 seconds to run (which is slow enough!), but if I run the applet (which has the exact same code) by double clicking it, it takes 2 minutes and 15 seconds to complete. I notice some speed difference on my iMac running Excel 2004, but it's not as much. Any thoughts on this?
     
  2. Sayer macrumors 6502a

    Sayer

    Joined:
    Jan 4, 2002
    Location:
    Austin, TX
    #2
    Did you save it as an "Application" or "Application Bundle" to make the applet? I think "Application Bundle" might be better as it is a universal app, and the "Application" is a PowerPC app only and that will run slower on an Intel Mac.
     

Share This Page