That works great, although I changed it to add just 1 day to the start date. I might make a 7 day version too!
I would also find it useful to set an exact date, too. To put tasks (especially single actions) on hold, I put a start date of 8/8/88. This is so far in the future that I won't have to worry about them becoming active by mistake and the sequence is very distinctive so I know at a glance the task is on hold.
I have tried to change the following lines:
Code:
set dateTarget to (current date)
set day of dateTarget to ((day of dateTarget) + 21)
to
Code:
set dateTarget to (8/8/88)
(eliminating the second line)
but the date format I am trying doesn't work. I've tried many variations on this (with quotes, in mm/dd/yyyy and yyyymmdd formats, etc) to no avail.
What is the correct format for inputting direct dates and is it even possible?
Thanks,
Eric