PDA

View Full Version : Speed of Applescript Scripts vs Applets?




rdelmar
Dec 18, 2008, 08:02 PM
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?



Sayer
Dec 18, 2008, 11:03 PM
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.