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: Thu, 21 Sep 2006 17:55:59 +0200
<x-tad-smaller>"If the script was compiled on a PowerPC based Macintosh and run on an Intel Macintosh, Rosetta is involved because the script's code itself needs to be translated by Rosetta. But that's apparently not the issue in this situation.
I ran a number of test scripts, and discovered that the problem is with accessing "current date" within a Finder block. Other repeats within the Finder block run normally, as does "current date" outside any Finder block.
It's generally not a good idea to make calls to OSAXen within any tell block.
-- Michell"</x-tad-smaller>
Thank You for the advice!
The only thing is, I don't understand why this (apparently) not so good code written by me, would lead the Intel Mac's to run so much slower than the older machines?
<x-tad-smaller>"</x-tad-smaller><x-tad-smaller>As you can see, it got faster each time I ran it. On the G4, though, it was not exactly a speed demon... but it is only 400mHz, give it a break! :-)"</x-tad-smaller>
Thats encouraging!
However, I like to try not to involve the Terminal or/and UNIX in this. I like to be able to use my AppleScripts in an Intel Mac's just as they are written, without the need of doing anything else. If that is not possible, I doubt I will ever use an Intel Mac together with AppleScript. After all , AppleScript is supposed to be one of the most simple consumer orientated (well, almost...) ways of programming and running your computer, right?
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