• 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: Specific Date-Time Formatting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specific Date-Time Formatting


  • Subject: Re: Specific Date-Time Formatting
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 4 Nov 2005 15:53:07 -0800

On Nov 4, 2005, at 12:59 PM, Mark J. Reed wrote:

I'm guessing "month" is a class the same way "date" is a class. But you can't construct month objects using the keyword, so I'm not sure what its utility is. All of the following result in an error, either "NSCannotCreateScriptCommandError" or "Can't make blah into a month":

month "January"
month January
month 1

"January" as month
January as month
1 as month

Frankly, I'm not sure why they were defined as classes either. It was like that when I got here. (Perversely, the month "constants" like January are also classes.) Somewhere down on my to-do list is making "month" into a sensible class so that all of the above expressions would work. (Except maybe "month January". What's the point of that one as opposed to "month 1"?)



--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Specific Date-Time Formatting
      • From: "Mark J. Reed" <email@hidden>
    • Re: Specific Date-Time Formatting
      • From: Sander Tekelenburg <email@hidden>
References: 
 >Re: Specific Date-Time Formatting (From: Christopher Nebel <email@hidden>)
 >Re: Specific Date-Time Formatting (From: Paul Berkowitz <email@hidden>)
 >Re: Specific Date-Time Formatting (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: How to work with XML data using System Events?
  • Next by Date: Re: making applescript wait until shell script finishes
  • Previous by thread: Re: Specific Date-Time Formatting
  • Next by thread: Re: Specific Date-Time Formatting
  • Index(es):
    • Date
    • Thread