The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniPlan General (http://forums.omnigroup.com/forumdisplay.php?f=37)
-   -   Applescript problems (http://forums.omnigroup.com/showthread.php?t=1223)

mattao 2006-09-08 12:11 PM

Beta 7.
 
Could you confimr me if beta 7 will contain this problem?

Thanks

Greg Titus 2006-09-10 08:39 AM

[QUOTE=mattao]Could you confimr me if beta 7 will contain this problem?
[/QUOTE]

This bug is now fixed, and so with beta 7 you should no longer have any problems with AppleScripting dates.

mattao 2006-09-19 03:45 PM

[QUOTE=Greg Titus]This bug is now fixed, and so with beta 7 you should no longer have any problems with AppleScripting dates.[/QUOTE]
Cool thanks

I am impatient!

mattao 2006-09-28 06:23 PM

Great improve
 
OK guys

My scripts actually work.
I will add some functionality soon I try to build up an aplication.

Thanks a lot for your help.

I will give news soon.

Lizard 2006-09-28 08:27 PM

Thanks for the good news mattao, and let us know if you hit any more roadblocks.

mattao 2006-11-27 12:49 PM

New problem with group
 
Hi guys and gals,

And a BIG HI to Lizard,

My script is evoluting I need to create group and affects task to it.

I can't succeed! Could you please help?

my script is:

property ATime : date
property BTime : date
property CDuration : 4
property ADur : 4
property BDur : 4


set CTime to (current date)

tell application "OmniPlan"
activate
tell document "planning"
set MyTask to make new task with properties {name:"Cure Mat"}
set MyTask to make new task with properties {name:"Bisoux", starting date:CTime, duration:CDuration}
set duration of task "Bisoux" to 1
set ATime to current date
set starting date of task "Bisoux" to ATime

set task type of task "Cure Mat" to group task
set parent task of task "Bisoux" to "Cure Mat"


end tell
end tell

:mad:

As you can probably see if you try it, it fail on the last instruction line. I got an error message:"OmniPlan got an error: Can't make "Cure Mat" into type task."

What to do?

mattao 2006-11-27 03:07 PM

And in the dictionnary I read: "parent task (task, r/o) : the group that this task is in"

What the hell r,o mean?

Thanks

mattao 2006-11-27 03:15 PM

OK r/o means read only!

Who said it's obvious?

:rolleyes:


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

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