Forums

Discuss all things Remember The Milk.

menu

MilkScript to set the Start date of a task and all subtasks

jamesr404 says:
Hi everyone,

I am trying to create a script for Remember The Milk that updates the start date of a task and all its subtasks. I have been able to create a version of the script that sets the start date to tomorrow, but I am having trouble accepting user input for the desired start date.

Here is a link to the code that sets the start date to tomorrow: https://www.dropbox.com/s/sw5md8fvhamy52v/MilkScript%20setting%20tasks%20to%20start%20Tomorrow.js.txt?dl=0

And here is a link to the code that I am trying to use to accept user input for the start date, but it is failing with the error "TypeError: "Invalid Date" is not a valid Date": https://www.dropbox.com/s/pyj9pggl11nz14b/MilkScript%20setting%20tasks%20to%20user%20inputted%20date.js.txt?dl=0

I am relatively new to MilkScript and I am not sure how to troubleshoot this issue. Any help or guidance would be greatly appreciated.

Thanks in advance!
Posted at 9:16am on December 31, 2022
This topic has now been closed automatically due to a lack of responses in the past 90 days.