Re: Leopard Date Bugs [don't overlook the japanese part]
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