I have updated my script to fit with the new update of Tyme 2. The script is now more powerful than ever!
From Omnifocus 2 to Tyme 2
Select any number of any task (w/wo child/due date/estimated time), add the select task (if it contains no child) or all leaf task in its child (which means those contains no child tasks —representing all the single actions you can do.) to Tyme 2. [Caution: Please do not select both a parent and its child, it might lead to double adding of the child.] (The subtask feature is not accessible from the Applescript interface, so sorry, the task hierarchy can’t be reserved, but I believe my workaround above should be reasonable and usable).
If the task contains any info, like estimated time/ due date, it will be pass to tyme 2. (notes won’t be passed since tyme 2 only allows notes in time records).
If the parent project in omnifocus is not present in tyme 2, it will create one for you.
You asked, I did it (with the modified applescript interface of tyme 2)! Completion status sync with Omnifocus (or Reminder.app, see the commented line in the tail of tyme2_applescript_hooks file.)
####From Tyme 2 to Fantastical 2
The update notes stated that Tyme 2 can two-way sync with iCal. unfortunately I can’t got that work and currently I’m mainly using fantastical. The scripts only implement one-way sync. But it should works fine and notes in time record also got synced.
See the README in github repository. Basically, add the two scripts to corresponding folder (you need to change the file extension to .scpt and open&save with Script Editor).
Continuing the discussion from Applescripts that made Omnifocus, Fantastical 2 and Tyme work together [time tracking]: