Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A unique method of handling notes and to-do items UNIX

Very often, I organize 'to do' items not via any of the multitude of programs out there, but through a unique use of the Finder's Desktop; I create an empty file for each task I need to do or thing I need to remember, and keep it on the Desktop. The Desktop then lets me group 'to do's or notes spatially, or in folders, or however one might handle files. I also can then add further notes on the task or note by actually putting text into the file.

In order to create the empty files from the Terminal (which I almost always have open), and have them openable in BBEdit Lite (my preferred text editor), I wrote this fairly simple script:


touch ~/Desktop/"$1.txt"
sudo setfile -a E ~/Desktop/"$1.txt"
sudo setfile -t TEXT -c R*ch ~/Desktop/"$1.txt"

This script creates the file (using touch), adding the "txt" extension in the process; hides that extension; and sets the file's creator and type code to correspond to a BBEdit Lite text file.

You could of course customize the script by editing the creator code to match your preferred text editor (SubEthaEdit, etc., etc.).

    •    
  • Currently 2.14 / 5
  You rated: 2 / 5 (7 votes cast)
 
[6,262 views]  

A unique method of handling notes and to-do items | 8 comments | Create New Account
Click here to return to the 'A unique method of handling notes and to-do items' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A unique method of handling notes and to-do items
Authored by: adrianm on Jan 02, '04 11:41:39AM
I presume by setfile you mean /Developer/Tools/SetFile, only available if you have developer tools installed?

[ Reply to This | # ]
A unique method of handling notes and to-do items
Authored by: Anonymous on Jan 02, '04 02:30:03PM

Correct. it does require the Developer Tools 'setfile' command-line application to do the creator code and hiding-extension part from the command line. I imagine you might be able to do something like "osascript 'AppleScript command'" in order to avoid that problem, though, but I'm not conversant enough with AppleScript to code that.



[ Reply to This | # ]
A unique method of handling notes and to-do items
Authored by: mervTormel on Jan 02, '04 01:26:17PM

what is the need for sudo?



[ Reply to This | # ]
A unique method of handling notes and to-do items
Authored by: Anonymous on Jan 02, '04 02:31:32PM

Evidently, there isn't! Sorry about that ...



[ Reply to This | # ]
A unique method of handling notes and to-do items
Authored by: aranor on Jan 02, '04 07:04:36PM

If you have BBEdit instead of BBEdit Lite, you can simply use the command-line bbedit tool to do all this for you.



[ Reply to This | # ]
A unique method of handling notes and to-do items
Authored by: Anonymous on Mar 06, '04 07:25:09PM

Yeah, but this is good if you don't.



[ Reply to This | # ]
A unique method of handling notes and to-do items
Authored by: gigsvoo on Jan 03, '04 06:27:40AM

You can use a iCal to record tasks, just like a organizer need to be done.



[ Reply to This | # ]
A unique method of handling notes and to-do items
Authored by: Anonymous on Mar 06, '04 07:26:48PM

Duh ... of course, you can use iCal. Or Slacker. Or Life Balance. Or about 100 other to-do apps out there. That's why this is billed as an out of the ordinary one.



[ Reply to This | # ]