Re: AppleScript runs slow on Intel Mac's
Re: AppleScript runs slow on Intel Mac's
- Subject: Re: AppleScript runs slow on Intel Mac's
- From: Leif Öquist <email@hidden>
- Date: Sat, 23 Sep 2006 15:36:19 +0200
On Sep 22, 2006, at 9:10 AM, Leif Öquist wrote:
"From what I saw of your earlier shown test code, you need to add "activate" after "tell app "Finder"". That does all the difference."
On Sep 23, 2006, at 05:35 AM, Michelle Steiner wrote:
"That didn't help."
Now I'm surprised.
When I runned your test code on my home machine, an old G4 350 MHz 192 Mb RAM, the script executed in approximately 26 seconds. When I added the 'activate' command to the tell block, the runtime was reduced to approximately 4 seconds.
I did the same thing with my own test code (once) during my test sessions with the Intel Mac's - with and without the 'activate' command included in the tell blocks. Without having literally clocked it, the difference in execution time was large and obvious.
A guy on my local Mac forum, by the way, runned my posted test code on an Intel Machine saved as an application bundle, and got the same approximate runtime of 1 second. So for the moment I'm convinced that the original problem is solved.
The only suggestion I can find to add is that you can try to run my originally posted test code to exclude the uncertainty that lies in running a comparing test with two different codes. If that doesn't help, I hope that some of the pro's in this forum will come to your relief.
regards,
Leif Öquist
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden