Re: top <repeat 100 times \r rant \r end repeat>
Re: top <repeat 100 times \r rant \r end repeat>
- Subject: Re: top <repeat 100 times \r rant \r end repeat>
- From: has <email@hidden>
- Date: Mon, 7 Oct 2002 12:35:29 +0100
John W Baxter wrote:
>
>But why not support verbose aliases for the same commands?
>
>
But it IS supported...
>
[Zeus:~/Documents] john% alias change_to_directory cd
>
[Zeus:~/Documents] john% change_to_directory /tmp
Interesting, but not what I'm after. I meant built-in, not roll-your-own.
Alias will be useful to experienced users who want to 'add' their own
commands (e.g. "cdtmp"), but these aren't the users I'm thinking of.
Here's what I meant: each tool should have short-name and long-name forms,
and be capable of answering to either. This'd be especially useful to those
of us who have to look up everything in a list to figure out what's
available - looking at a full-name list would make it much easier to see
what things are:
change directory
list
remove
versus:
cd
ls
rm
Especially enterprising sorts might even view the list as:
change directory (cd)
list (ls)
remove (rm)
Those three are common as dirt and pretty quickly learned, of course, so
perhaps not best demonstration of the value of such an approach. But
there's hundreds of commands available, and the purpose of most is not
apparent from their fiercely contracted names.
Also, input is only one half of the equation. Even if you enter commands in
the contracted form, it may be beneficial to display the verbose form at
times. The advantage of AppleScript's "English-like" syntax isn't so much
entry, but ease of reading thereafter: even without knowledge of the
language itself, it's often possible to infer a degree of meaning in
well-written AS code.
Does that make sense?
has
--
http://www.barple.pwp.blueyonder.co.uk -- The Little Page of AppleScripts
_______________________________________________
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.