The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniOutliner 3 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=9)
-   -   Script to Move Checked Items to Another Section? (http://forums.omnigroup.com/showthread.php?t=1751)

bimden 2006-09-23 04:33 AM

Script to Move Checked Items to Another Section?
 
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[INDENT]Client A[/INDENT][INDENT][INDENT]Item x
Item y[/INDENT][/INDENT][INDENT]Client B[/INDENT][INDENT][INDENT]Item p
Item q[/INDENT][/INDENT]Projects Done[INDENT]Client A[/INDENT][INDENT][INDENT]Item z[/INDENT][/INDENT]
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


All times are GMT -8. The time now is 06:33 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.