Re: I wish Apple would follow its own advice
Re: I wish Apple would follow its own advice
- Subject: Re: I wish Apple would follow its own advice
- From: "John C. Welch" <email@hidden>
- Date: Sun, 02 Oct 2005 11:20:48 -0500
- Thread-topic: I wish Apple would follow its own advice
On 10/2/05 10:52, "Michelle Steiner" <email@hidden> wrote:
> another example:
>
> Provide good error messages.
>
> Cocoa Scripting¹s default error messages are written in generic
> programmerese (such as ³NSReceiverEvaluationScriptError: 4²)
> rather than specific English (such as ³Can¹t get window 17²). As
> of Mac OS X 10.3 (Panther), you can set your own error numbers and
> messages by calling [NSScriptCommand currentCommand] and then calling
> -setScriptErrorNumber: and -setScriptErrorString: on the returned
> object. See the NSScriptCommand documentation for further details.
>
> Admittedly, this is only for Panther and beyond, but when they
> rewrote applications for Panther, they could have implemented this
> suggestion too.
Oh lord the damned NS*ScriptError messages...is there anything that makes me
want to lock a dev in a room with 4000 pokemon cards, a bulimic fruit bat,
and my son right AFTER he's drank two liters of Mountain Dew to wash down a
pound of chocolate covered espresso beans?
I swear, it makes me want to file bug reports that say "Got one of those "
NSReceiverEvaluationScriptError: 4" errors again, and when I get the "can
you be more informative" emails, reply back with "I don't know, can YOU?"
Why even bother with error messages if they're meaningless? Just pop a
dialog that says, "Didn't work, won't tell you why, sucks to be you". At
least that's more descriptive.
--
Anybody who doesn't have fear is an idiot. It's just that you must make the
fear work for you. Hell, when somebody shot at me, it made me madder than
hell, and all I wanted to do was shoot back.
-- General Robin Olds, USAF.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden