Hi all. I use Tinderbox as a task manager. I have a task prototype, and I have a stamp that moves tasks into an archive container. The thing is, I want to be able to unarchive tasks that were archived by mistake. So I have created a user attribute $OldContainer, where I save the $Container that a note was in when it was archived. The code to archive then looks like
$OldContainer = $Container;
$Container = "/Task Archive/"
Unarchiving a note is then fairly simple:
$Container = $OldContainer
However, I often work with aliases of tasks rather than tasks themselves. For example, I will take notes during a meeting, placing tasks inline as I go, and then put an agent that harvests all tasks in the outline at the top of the outline, and work from there.
Now, since $OldContainer is a user attribute, I cannot make it intrinsic, which means that a task must share its $OldContainer value with all its aliases. This makes unarchiving a task and its alias to their original containers impossible. For example, say we have the outline
If I archive the alias task1 and then archive the original task1, the $OldContainer for both notes will be set to "container1". If I then unarchive task1, it will get put into container1, rather than container2 — the container it was in when it was archived.
Is there a nice solution to this?
Why can't you create user-defined intrinsic attributes anyway?
Thanks for your insights!