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 Today's Posts

 
Working Hours For A Day In Applescript Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Apologies if this has been posted elsewhere but I couldn't find a related post. I am writing an AppleScript to go through a project and calculate the number of days of slack from one task to the next closest dependent. I am setting "Slack" as a custom data object.

What I am trying to figure out is how to access the working duration for a specific date so I can see if should be counted in the calculation. I think I have been just staring at the code too long while trying to get other work accomplished. I have set the date to check as a date object called check_day. The last interation I tried was:

Code:
calendar day schedule of schedule of front document of check_day
Any thoughts? I have recently got a group of people here at work to order OmniPlan for their Macs but slack calculation was a requested item so I am trying to wow them by showing the extensibility.

Thanks for any help you can provide!
Brian
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing working hours in forecast view xkaly OmniFocus for iPad 2 2012-04-08 02:34 PM
Duration not to be connected to working hours lorew OmniPlan General 3 2011-10-11 10:07 AM
View "Total Hours" in units of "hours" pheller OmniPlan General 4 2009-11-17 01:37 PM
Applescript action not working in presentation view Blake OmniGraffle General 3 2009-01-16 07:01 AM


All times are GMT -8. The time now is 12:02 AM.


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