These are the things to consider with your system.
- The program doesn’t know much about the tasks inside the project other than that they belong to the project itself. If those tasks are moved somewhere else, they loose that identifier.
- If you move the project, the program will need to figure out a way to identify where those tasks came from. Taskpaper does some sort of identifying with done tasks by tagging the task with the originating project’s name (something similar to your example.) But there remains the problem that if you have several projects with the same name, that identifier means very little now.
- There is not an automatic way to accomplish what you want.
This could be done several different ways. I am going to start with the most obvious but that requires less scripting.
Manual tagging- No code
You could tag your tasks manually so that there is a lot more information about those tasks. This gives you the flexibility to tag your tasks with whatever identifier you feel like. Using text expanders like Alfred or TextExpander, can save your a second here or there.
Then when you move that task to whatever project you want with the provided TaskPaper command “Move To Project” the info is where you want to. Then you are done. No more work done.
Scripting - Easy
Now, when I say easy, I don’t mean that this will be easy for me to do. I am just taking in consideration your system and the information the computer will require. Some time ago, there was a request for a script to “Move to Project” with the option to move the task to the end of the Project instead of the beginning of it.
Move task to end of project
I am assuming that it would not be very difficult to modify that script so that it adds a tag similar to what TaskPaper does to the done tags to identify the parent project – @project(parentprojectname) --. Just know the following.
- That script is old. I am assuming it probably needs to be updated to work. You can probably see the errors, and some recent script examples to get it working yourself.
- I don’t know how to script. You will probably need to ask SUPER nicely to @complexpoint or @jessegrosjean for them to modify the mentioned script to add the tag “@project(parentprojectname)” to your task while doing the moving. Usually just tagging them is enough, but wait for when they have a chance to think and do it.
Now, I was going to add another option, but I think that those cover your request. I know that I wasn’t the most helpful in actually getting your request done; but I hope that this helps by pointing at how you can get it done and who you need to ask.