The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniPlan > OmniPlan Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
change parent child task relationship with AppleScript Thread Tools Search this Thread Display Modes
Hello,

I am trying to change the parent-child relationship between two existing tasks. I have seen an example for adding a new child as:

Code:
set parentTask to make task with properties {name:"draw floor plans"}
tell parentTask
     make task with properties {name:"draw first floor"}
     make task with properties {name:"draw second floor"}
end tell
but I can't figure out how to do that with an existing task (assume parentTask and childTask are already set)

Code:
tell parentTask
     add childTask to child tasks ???
end tell
 
Code:
move childTask to end of child tasks of parentTask
 
Also:
Code:
move childTask to after item 3 of child tasks of parentTask
(before and beginning can be used in place of after and end, respectively)
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OmniPlan iCal export parent/child task names Elizabeth OmniPlan General 4 2014-03-26 03:00 PM
What is a aunt task / Relationship & assigning dependencies with parent/child tasks qubit OmniPlan General 2 2012-09-04 12:16 PM
THE MISSING CHILD... Losing the Parent|Child|Grandchild relationship in Context View smiggles OmniFocus 1 for Mac 26 2008-05-27 09:20 AM
AppleScript to change task dates aleding OmniFocus 1 for Mac 1 2008-05-11 02:16 PM
I don't get the parent/child task behavior in OF wfiveash OmniFocus 1 for Mac 8 2008-01-29 11:14 PM


All times are GMT -8. The time now is 07:41 AM.


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