Re: Script performance and Safari
Re: Script performance and Safari
- Subject: Re: Script performance and Safari
- From: Simon Topliss <email@hidden>
- Date: Sat, 14 Apr 2012 16:19:03 +0100
On 14 Apr 2012, at 15:53, Christopher Stone wrote:
> On Apr 14, 2012, at 09:32, Simon Topliss wrote:
>> Ah, right. Didn't notice that bit.
>>
>> Still no divs, mods or tids required:
>>
>> tell short date string of (current date) to return text 1 thru -5 of it & text -2 thru -1 of it
>
> ______________________________________________________________________
>
> The short date string format is dependent upon the localization.
>
> Also. Nigel Garvey spent a lot of time optimizing date formats, and the math method is faster. Not a big issue on modern Macs, but there you go.
You didn't post Nigel's method, you posted yours. Yvan pointed out that it seemed over complicated and I agreed with him.
I'd be interested in the time differences. When Nigel developed his method there was no way to coerce month contants to numbers or get the short date string. These were added in AS 1.9.2 which came out with 10.3.
Simon
_______________________________________________
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