Date formatter for me does NOT work
Date formatter for me does NOT work
- Subject: Date formatter for me does NOT work
- From: Marco Ippoliti <email@hidden>
- Date: Thu, 11 Jul 2002 11:51:33 +0200
This simple test, where field "t" is date formatted in a window with a
button and the field:
on clicked theObject
try
set the nDate to (contents of text field "t" of window "w")
set cDate to date nDate
on error result
log result
end try
end clicked
will always end with error "NSReceiverEvaluationScriptError: 3", no
matter the kind of format used and a good value entered.
That the value is good for the formatter can be proved by tabbing away
from the field, for invalid values it beeps.
Interesting to observe is that when using the debugger cDate shows a
correct date conversion anyway.
If for somebody of you this works, please indicate your system date
format and language set in system preferences.
Thank you,
Marco
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.