Re: Applescript 201 - speed
Re: Applescript 201 - speed
- Subject: Re: Applescript 201 - speed
- From: Tommy Bollman <email@hidden>
- Date: Mon, 24 May 2010 17:51:08 +0200
Den 24. mai 2010 kl. 17.25 skrev Robert Poland:
>
> Thanks john,
>
> Where would one find some of these "Tons"?
>
>
> On May 24, 2010, at 9:14 AM, John C. Welch wrote:
>
>> On 5/24/10 11:01 AM, "Robert Poland" <email@hidden> wrote:
>>
>>> I was wondering if there are any guidelines for speeding up a script?
>>
>> Tons, but they all depend on what the script is doing, and with what
>> applications. A script that spends a lot of time waiting on user input isn't
>> going to be optimized the same way as one doing heavy text processing
>>
>> --
>> When life hands you Grens, make Grenades
>>
>> john c. welch
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> AppleScript-Users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> Archives: http://lists.apple.com/archives/applescript-users
>>
>> This email sent to email@hidden
>
> Robert Poland - Fort Collins, CO
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
There are some tips in the book Applscript The Definitive Guide by Matt Neuburg.
The loops are what you want to optimize.
What you really should get are some tools for timing milliseconds they are out there with some googling.
Best regards
Tommy Bollman
--------------------------------------------------------------------------------------------------
When angry, count four; when very angry, swear.
-- Mark Twain
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden