I want to start using daylite. And I also want to start using dt3 and dittg again. But I need to get my tasks in ddtg and dt3 to daylite since daylite has the more total encompassing display for todo, calendar, notes etc. (not the best notes really but dt3 will take care of that.)
So in dt3 while I can 1) make a note 2) use the built in script to send it to reminders,
I may forget and all is gone or lost.
So it would be convenient if I could create a note in dt3 and save it in my TASKS group and have that note automagically become a reminder in apple reminders.
The iPhone is different. On the iPhone and iPad I have to create tasks and todos directly in apple then review them and continue the work with saving letters and pdfs and things in DT3
āMyā script in this response will do exactly that for you if you set up an appropriate smart rule you could even set it up to run e.g. hourly so long as you use the rule format I suggested (setting a custom metadata ābitā) in the same response. Let us know whether it works for you
@Blancā¦ Thank you and others who worked on the Auto-Add as Reminder script.
It works as advertised for me with one issue: The year of the Due Date defaults to 00. Iām sure there is a minor update that will fix this, but Iām having no success in finding it. Your assistance will be greatly appreciatedā¦thanks.
Hi there are a couple of scripts in this rather long thread ā could you please link to the specific script you are using or feel free to simply re-post the script itself here. I will then happily take another look at it, although I will not be able to give you a helpful response before tomorrow evening.
Are you running the script from a smart rule, and if so, is it embedded in the smart rule? The last code block in the script is known not to work when embedded, so the script needs to be run externally (so first save the script to ~/Library/Application Scripts/com.devon-technologies.think3/Smart Rules, the set the smart rule to run that external script). Try that, please - if you are still not successful, Iāll delve more deeply.
Edit: Actually, I think the code is probably pretty crappy; you could replace
set theNewDate to (date string of (current date))
set theDueDate to my convertDate(theNewDate)
set theDueDate to theDueDate + theDelayValue
with
set theDueDate to (current date) + theDelayValue
and remove the last code block (the one beginning onConvertDate(theNewDate)). The script should run embedded then.
Edit of the editā¦: ah, no, I did it that roundabout way so that you could determine the reminder time in addition to the date. So disregard the edit (which I will leave, so I can remember next timeā¦) and just follow the first piece of advice in the post.
I am, in fact, running the script externally from a smart rule and the script, Auto-Add as Reminder, is located in the folder, ~/Library/Application Scripts/com.devon-technologies.think3/Smart Rules.
It works here; Iām using a different regional setting however.
Please could you post the result of this script (run from script editor):
set theDelayValue to (1 * weeks) + 28800
set theNewDate to (date string of (current date))
set theDueDate to my convertDate(theNewDate)
set theDueDate to theDueDate + theDelayValue
return theDueDate
on convertDate(theNewDate)
return date theNewDate
end convertDate
You have customised your regional settings to not include the year in the full date (in the window you posted see Advanced > Dates > Full); as such, current date does not return a year, which is why no year is included in the due date, which then defaults to 00.