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 General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
applescript task grouping Thread Tools Search this Thread Display Modes
Hi,

I can't succeed to assign a task to a group using applescript. Does anyone can help?

Thanks
 
First, a caveat: AppleScript support for OmniPlan is incomplete in RC1. We have chosen to defer those bugs in favor of fixing some serious bugs.

Secondly, please clarify your question: What do you mean by 'assign'? Are you assigning these tasks to a group of resources so that the people in that group will work on the task? Or do you mean simply organizing tasks into a group of tasks, an outline structure?
 
First of all, thanks a lot Lizard for your answers.

I am trying to do this

1) create the "draw floor plans" task -> it succeed
2) create the "draw first floor" task -> it succeed
3) create the "draw second floor" task it succeed

4) make the "draw floor plans" task to a group task -> it succeed
I used "set task type of task "draw floor plans" to group task

5) put the "draw second... and third floor" tasks in the "draw floor plans" group I've just created.

I can't succeed into this.

I tried to use the "parent task" properties but it is a r/o ( right only ) property.

So what should I do?

The underlying goal of my scripts is to record what I am currently doing inside a omniplan. I used timelog. It's cool but not enough form me.
I think some applescript could do a great job related to omniplan.

Last edited by mattao; 2006-12-04 at 04:36 PM..
 
You need to tell the parent task to make the child tasks. Like so:

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
 
Thanks

It succeed!!!!

I will Try to improve my script. I will tell you the results.

Bye.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
AppleScript: ML Reminder from Task eurobubba OmniFocus 1 for Mac 1 2012-11-26 03:38 AM
Applescript to change the Project of a task? Kha OmniFocus Extras 2 2011-12-19 02:10 PM
AppleScript help: Create sub-task, project from task iNik OmniFocus Extras 3 2007-12-05 08:53 AM
Applescript to cycle through task states spnyc OmniFocus 1 for Mac 4 2007-07-04 02:25 PM
AppleScript: adding a task dontlament OmniPlan General 3 2007-02-07 02:15 PM


All times are GMT -8. The time now is 01:05 PM.


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