Re: Create a folder with today's date as the folder name
Re: Create a folder with today's date as the folder name
- Subject: Re: Create a folder with today's date as the folder name
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 11 Feb 2002 20:48:48 -0800
On 2/11/02 8:24 PM, "Shane Stanley" <email@hidden> wrote:
>
On 12/2/02 2:52 PM +1000, John W Baxter, email@hidden, wrote:
>
>
> At 9:05 +1100 2/12/2002, Shane Stanley wrote:
>
>>> I believe month constants always coerce to their English equivalent, e.g.
>
>>> June-->"June", no matter what the system.
>
>>
>
>> Really? Strange...
>
>
>
> It's a simple coercion to a string of the terminology for the four-byte
>
> code. It became "always English" when AppleScript Dialects went away...it
>
> also was added to the language after dialects had effectively gone away
>
> (there were several releases of System/Mac OS in which only English Dialect
>
> was shipped).
>
>
I was under the impression that the day and month constants were different
>
under different languages, even after dialects went away, just as the labels
>
for things like Cancel and OK still differ. Is that not so?
No. The month constants are all the same as their English string
equivalents, so setting them 'as string' gets just the English version. to
get them in the local language you need to use an osax such as Sigma's
coercions, Akua ('the clock'), or Tanaka's (with a few contortions). None
of these is available in OS X, where you can attempt to parse 'date string'
but will come adrift if month is not the second word (as in
Brazilian/Portuguese).
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.