• 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
New to applescript: year of
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New to applescript: year of


  • Subject: New to applescript: year of
  • From: Francis Derive <email@hidden>
  • Date: Wed, 27 Sep 2006 12:06:18 +0200

Bonjour,


I will learn with a book, but I can't help ask

why this doesn't work:

	repeat with myMessage in messages of mailbox "myMailbox"
		set myYear to year of date received of myMessage
		log myYear
	end repeat


when this works fine :

	repeat with myMessage in messages of mailbox "myMailbox"
		set myDate to date received of myMessage
		set myYear to year of myDate
		log myYear
	end repeat


Merci beaucoup.


_______________________________________________ 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: New to applescript: year of
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Re: Calling a property by using a string
  • Next by Date: Re: Parsing quoted text
  • Previous by thread: Re: Set destination file for Adobe PDF 7.0 printer, How ?
  • Next by thread: Re: New to applescript: year of
  • Index(es):
    • Date
    • Thread