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: Fri, 22 Sep 2006 18:10:52 +0200
2006-09-22 kl. 15.14 Michelle Steiner wrote:
"On Sep 22, 2006, at 5:55 AM, Leif Öquist wrote:
I runned the four files on an Intel iMac. The two types of script files and the application file took approximately 25 seconds to run - the fourth file, the 'bundled application file', took approximately 1 second to run.
I found that, on my machine, it takes in the neighborhood of 20 seconds regardless of how it is saved, and for that matter whether it is saved or not.
Taking it outside of the tell application block speeds it up to almost instantaneously. And it seems not to matter what application is used in the block.
So the questions remain:
1. Why does it happen only on an Intel machine?
2. Why does it happen on only some computers, but not others?
-- Michelle"
From what I saw of your earlier shown test code, you need to add "activate" after "tell app "Finder"". That does all the difference.
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