• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Month as Integer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Month as Integer (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Month as Integer
  • Next by Date: month as integer
  • Previous by thread: Re: Month as Integer
  • Next by thread: Re: Month as Integer
  • Index(es):
    • Date
    • Thread