I get the same result on Tiger.
This also works:
set
today
to
current date
set
{hours
of
today,
minutes
of
today,
seconds
of
today}
to
{0,
0,
0}
ES
On 11/19/09 8:58 AM, "Michelle Steiner" wrote:
This works:
set today to
current date
set hours
of today to
0
set minutes of
today to 0
set seconds of today to
0
This doesn't:
set today to
current date
set {hours,
minutes, seconds}
of today to
{0, 0, 0}
--> error
"Can’t set {hours of date \"Thursday, November 19, 2009 9:56:47
AM\", minutes of date \"Thursday, November 19, 2009 9:56:47
AM\", seconds of date \"Thursday, November 19, 2009 9:56:47
AM\"} to {0, 0, 0}. Access not allowed." number -10003 from {hours of
date
"Thursday, November 19, 2009 9:56:47 AM", minutes of
date
"Thursday, November 19, 2009 9:56:47 AM", seconds of date "Thursday,
November 19, 2009 9:56:47 AM"}
-- Michelle