change parent child task relationship with AppleScript
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 [/CODE] 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] |
[CODE]
move childTask to end of child tasks of parentTask [/CODE] |
Also:
[CODE] move childTask to after item 3 of child tasks of parentTask [/CODE] (before and beginning can be used in place of after and end, respectively) |
All times are GMT -8. The time now is 03:51 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.