Re: trouble with weekday names
Re: trouble with weekday names
- Subject: Re: trouble with weekday names
- From: Michelle Steiner <email@hidden>
- Date: Mon, 17 Dec 2007 13:47:00 -0700
On Dec 17, 2007, at 1:03 PM, Clint Hoxie wrote: When using the following script, I am unable to get the if statement to equal true with any of the variations. What gives, please? Running 10.5.1, compiling with Script Editor 2.2.
As implied in other replies, day of week is an enumerated type, not a string.
It can be cast as a string or as an integer, but the casting has to be explicit.
--> false
--> true
--> "Monday"
-- Michelle
-- Don't dream it. Be it. --RHPS
|
_______________________________________________
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