Re: Weeding out words
Re: Weeding out words
- Subject: Re: Weeding out words
- From: Brett Conlon <email@hidden>
- Date: Fri, 9 Feb 2007 16:15:40 +1000
With the current script, using "box
set' won't work because it checks against individual words only so there
would be no match even if "box set" was there in the user's response.
I'm hearing you tho. I agree with your
warnings and will rethink the checking of the user's entry.
Initially I wanted to put warnings in
the dialogs that users shouldn't enter this or that word but I know my
people and they don't read dialogs.... much
Cheers,
Coj
Malcolm Fitzgerald <email@hidden>
09/02/07 05:00 PM
|
To
| Brett Conlon <email@hidden>
|
cc
|
|
Subject
| Re: Weeding out words |
|
On 09/02/2007, at 3:13 PM, Brett Conlon wrote:
> Yes, I have thought of this issue also. But my initial concerns with
> people entering the wrong information are much greater than a "correct"
> title being altered.
>
> I suppose I could have a warning dialog appear asking the user to
> confirm
> if a suspect word should be there or not...
>
> As for "Box Set", yes, that was a mistake in my test script.
The words
> "Box" and "Set" would be sufficient to eliminate
them.
Well you're better off using "box set" than "box" and
"set". I can't
see much difference between wrong information being entered and correct
information being altered by the program. You end up with bad data.
If your program is smart enough to sense that the input contains "box
set", then why don't you leave it there? You don't have to add "box
set" to the end in that case.
It seems to me that you should be exposing some of this to the user or
providing them with better instructions or limited choices or
something.
The number one rule for me is "make the computer do the work".
Initially that means the programmer but when you start to design a
program to bang heads with a user input field the user input field is
going to win.
malcolm
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden