Any sufficiently advanced technology is indistinguishable from magic. Clarke’s Third Law by Arthur C. Clarke A while ago a reader send me a really useful AppleScript to automatically fill a column in OmniOutliner with the name of file. Very useful if you put your notes, e.g., about a book or an article, in an OmniOutliner file and then want to tag each line with the source information (you can’t cite it otherwise!). The script can be improve in many ways, e.g., only filling empty source cells, or being able to type in a name, but so far, it works very well the way it does. Two things did bug me, though. I had to replace the ending (search and replace “.ooutline” by “”). And there was no confirmation dialog. You execute the script, it simply replaces the source information with the file name. Potentially devastating if you have collected information from many different sources in one outline. So, here’s an updated version. Complete with “remove the file extension” (which was surprisingly hard to do, I guess, I don’t understand the variable types) and a safety question. -- Rename Columns in OmniOutliner -- Created by Bruno Conte -- Replacement function via [...]
↧