This script builds on the one I offered yesterday. Click on the wedge to see changes, or read the full description below.
Creates an Archive headline at the bottom of an outline if it does not already exist.
You can apply this script to any headline no matter how nested it is, which means that you can apply it to actions within a project or sub-project. When you archive it, all its children are carried over with it.
When you mark a headline complete, an attribute called "completed" is added with the current date and time. You will not see this information in the headline, but you can see it by clicking on the in the left rail of Fargo.
If you have an outline with to-do items (no matter how nested they are within higher-order headlines), this script does the following:
Choose "todoArchive" from your Scripts menu to add an empty checkbox when you first enter the action item.
When you've completed the item, choose "todoArchive" to add a checkmark to the headline.
If you don't want to see the completed item anymore, choose "todoArchive" to archive it.
If the final first-order headline in your outline is called "Archive," the completed item will become a child of this headline.
If the final first-order headline in your outline is not called "Archive," one will be created, and the completed item will become a child of this headline.
When the item is archived, the "Archive" headline will automatically collapse. You will need to expand it if you want to see all your archived items.
If your headline has any other icon value associated with it (e.g., ), "todoArchive" will do absolutely nothing to it.
Your outline would look something like this:
incomplete to-do item
completed to-do item
You can view the OPML here.)