Set Task to a specific date -2w
Hi,
I have been looking through the web and this forum, but I couldn't find the answer to a functionality I am looking for. I would like to be able to set a date for a task with the following parameters: Example: Start: 8/31/2014 -2w The idea is, that I usually have a deadline and I want to trigger the task a week or two before. I appreciate any comment or help, Ludwig |
One approach would be to script the assignment of a Start Date to N days before any Due Date which the selected task may have.
[CODE]property pDaysBefore : 14 tell application id "OFOC" tell front document window of default document tell content set lstTask to value of selected trees where class of its value is task or class of its value is inbox task repeat with oTask in lstTask tell oTask set dteDue to due date if dteDue is not missing value then set start date to (dteDue - (days * pDaysBefore)) end if end tell end repeat end tell end tell end tell[/CODE] |
Thanks Rob, this is useful!
|
Thank you for your quick answer.
|
More generally, it might also be worth looking at this script:
[url]http://www.complexpoint.macmate.me/Site/Set_OF_due_and_start_dates_relative_to_each_other.html[/url] (Haven't tested the download recently, but I think it should still be working. Let me know if not) |
All times are GMT -8. The time now is 09:25 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.