View Single Post
Hello,
I have four sections in my document: "Projects", "Projects Done", "Tasks", "Tasks Done". I would like to write a script that moves checked items from "Projects" to "Projects Done" and from "Tasks" to "tasks Done". The parent of the checked item should be created in the Done-Section if it does not exist already. An example:

Projects
Client A
Item x
Item y
Client B
Item p
Item q
Projects Done
Client A
Item z
If I check Item x, this entry should be moved to Projects Done > Client A > Item x. If I check Item q, it should be moved to Projects Done > Client B > Item q. The parent "Client B" should be created now in "Projects Done" because it does not exist yet.
My apple script skills are a little bit limitated, so every hint would be great!
Thanks, Sven