Programming contest idea

Kirk McElhearn kirklists at wanadoo.fr
Sat Mar 27 00:04:35 PST 2004


Here's an idea I've been toying with, that might fit the bill for the shell
scripting contest.

I often have snippets of text that I like to keep. I used to use Nisus
Mailkeeper, back in the OS 9 days, to save and find that stuff. I haven't
yet found a replacement.

I've been thinking about rolling together two scripts for saving info and
for searching for it. Not very complicated, actually: one script saves
whatever text you type after a command in a dated text file, in a specific
directory (or appends the note to a single file; that might be more
practical), and another searches for specific text within the file.

But the challenge would be to make this elegant, easy to use, and provide,
perhaps, ways of differentiating different types of data (URLs vs text
snippets). Also, it would be nice if it used pbcopy to get data from the
clipboard that you've copied from e-mail or web pages. Eventually, rolling
the shell script into an AppleScript might allow you to set a keyboard
shortcut, or to tall it from the global AppleScript menu.

So, does this interest anyone?
 
 
Kirk
 
        My latest book: How to Do Everything with Mac OS X Panther
                  http://www.mcelhearn.com/htde.html
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
 . . . . . . .  kirk at mcelhearn.com | http://www.mcelhearn.com  . . . . . .
 . .  Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France  . .



More information about the X-Unix mailing list