Re: Month as Integer
Re: Month as Integer
- Subject: Re: Month as Integer
- From: Jonathan Neff <email@hidden>
- Date: Wed, 29 Nov 2000 14:40:51 -0500 (EST)
Paul,
Isn't working for me with 9.0.4; I just rebuilt my machine last week and
haven't put in any of the extra osax in yet. I get an Execution Error
stating "Can't make November into a integer." with Script Editor and
Scripter.
-Jonathan
********
Jonathan Neff
Student Technology Centers
Indiana University
********
On Wed, 29 Nov 2000, Paul Berkowitz wrote:
>
On 11/29/00 10:26 AM, "Carl West" <email@hidden> wrote:
>
>
> Paul Berkowitz wrote:
>
>>
>
>> I know that
>
>>
>
>> month of (current date) as string
>
>> -- "November"
>
>>
>
>> came in with OS 8.6 or 9.0 (which?).
>
>>
>
>> I find that I can also get
>
>>
>
>> month of (current date) as integer
>
>> -- 11
>
>>
>
>> Is this a vanilla coercion with 8.6 or 9.0 as well, or is some osax helping
>
>> me out here, does anyone know?
>
>
>
> Doesn't work for me on OS 9.0.4.
>
> I have only the standard AppleScript stuff installed.
>
>
>
Very interesting. I just got a private reply from someone who said that it
>
doesn't work with 8.6 but it DOES work with OS 9 and no 3rd-party osaxen
>
installed.
>
>
Is it possible, Carl, that you may have been using 'display dialog' to try
>
to show the result? THAT won't work unless you also put
>
>
(month as integer) as string
>
>
or
>
>
"" & (month as integer)
>
>
because display dialog needs a string.
>
>
Can you please let me know? This is very odd.
>
>
--
>
Paul Berkowitz
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users