Jan 02, '04 10:49:00AM • Contributed by: Anonymous
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.).