• 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: Leopard Date Bugs [don't overlook the japanese part]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard Date Bugs [don't overlook the japanese part]


  • Subject: Re: Leopard Date Bugs [don't overlook the japanese part]
  • From: Axel Luttgens <email@hidden>
  • Date: Sat, 17 Nov 2007 14:32:46 +0100

On 17/11/07 14:11, KOENIG Yvan wrote:


Le 17 nov. 07 à 03:48:24, Loren Ryter a écrit :

[...]
What I'm concerned about is date object. I need reliable dummy dates to get
times, for instance, as in:


Set ds to "1/1/1000"
Set d to date ds
Set hour of ds to 7
Set minute of ds to 30


Hello

when I run this one as is under Tiger 10.4.11,
I get this error message:
Impossible de régler hour of "1/1/1000" à 7. (can't set hour of "1/1/1000" to 7)
which seems normal as we can't set the hour of a string.
But a detail bothers me:


in the script editor, hour is displaid in green as variables names but if Y understand well it would be displaid in blue as every AppleScript's functions.

If I edit the line
set hour of ds to 7

to

set hour of d to 7,
which seems more logical, I get the error message:
Saturation de la pile.  (stack is full)

I get that on international (here in French) 10.4.11.


Yes, a slight typo leading to one of those informative messages. ;-)
This should be working:

   set hours of d to 7
   set minutes of d to 30

HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Leopard Date Bugs [don't overlook the japanese part]
      • From: KOENIG Yvan <email@hidden>
References: 
 >Re: Leopard Date Bugs [don't overlook the japanese part] (From: Loren Ryter <email@hidden>)
 >Re: Leopard Date Bugs [don't overlook the japanese part] (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Leopard Date Bugs [don't overlook the japanese part]
  • Next by Date: Re: Leopard Date Bugs [don't overlook the japanese part]
  • Previous by thread: Re: Leopard Date Bugs [don't overlook the japanese part]
  • Next by thread: Re: Leopard Date Bugs [don't overlook the japanese part]
  • Index(es):
    • Date
    • Thread