Re: date/Snow Leopard changed
Re: date/Snow Leopard changed
- Subject: Re: date/Snow Leopard changed
- From: Loren Ryter <email@hidden>
- Date: Fri, 04 Sep 2009 20:12:25 -0400
- Thread-topic: date/Snow Leopard changed
I totally agree... There should be an option to use the the old method.
Sometimes a relatively fuzzy date is ok without a huge amount of text
parsing.
For example I have a date picker object where you can just drop some text.
On the old method:
On 9/3/09 4:54 PM, "Stockly, Ed" <email@hidden> wrote:
> It's good and bad. It's better and worse.
>
> Maybe everything would have been better if dates were handled this way from
> the start, but they weren't and it doesn't seem that enough was done to
> ensure backward compatibility.
>
> Nearly every script I use manipulates dates and they all rely on the
> "magic" that appleScript provided.
>
> For example, I get data files which have dates in the first line of text, in
> a variety formats, along with some non-date information.
>
> 9/14/2009 Sports Highlights
> Updates Sept. 14, 2009
>
> So I have a handler that coerces the first line of text to a date, and it
> has worked so well that it's now in dozens, if not hundreds, of scripts.
>
> set fileDateStamp to date paragraph 1 of myText
>
> Now I'll have to figure out what date format is being used in every text
> file, extract it and reformat that so I can coerce it to an AppleScript
> date.
>
> This breaks things that have been working since system 7.
>
> Ed
>
>
> On 09/03/09 5:49 AM, "Shane Stanley" wrote:
>
>> On 3/9/09 10:42 PM, "Mark J. Reed" <email@hidden> wrote:
>>
>>> Things are better in SL
>>
>> Right.
>
> _______________________________________________
> 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
_______________________________________________
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