The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Logging OmniFocus done items to DayOne through Hazel (http://forums.omnigroup.com/showthread.php?t=27370)

Guus 2013-02-13 11:04 AM

Thanks again Rob.

I've edited the script like this and it's working okay for me now.

{
if (prj!=$5) {prj=$5;
if (prj!="") {print ("\n" prj_prfx prj) >> "tmp_pretty.txt" }
else {print ("\nInbox") >> "tmp_pretty.txt"}
}
if ($6!=prj) {print ("- " $6 " @done(" $4 ")") >> "tmp_pretty.txt" }
else {{print "- *Project completed* @done(" $4 ")" >> "tmp_pretty.txt" }}
}'

I've got a folder with "Single Actions" and thought about changing the script to leave the "project-name" out for this folder but after doing a quick preview in DO decided against it. The heading improves readability so I'll keep it in.

Casslar 2013-02-25 04:42 AM

consultancy/setup..
 
I am very very interested in this process, because the one thing I really feel lacking in Omnifocus is some kind of daily journal - so you can refer back to everything that was ticked off as done on a given day. However, I havent got a clue where to start with Hazel, I am a relatively new mac user and just don't know where to begin. If anyone here can offer to set this up for me for a reasonable fee or point me at documentation from a very basic level ie non programmer level, I'd be very interested... Thanks in advance!

whpalmer4 2013-02-25 08:11 AM

[QUOTE=Casslar;120836]I am very very interested in this process, because the one thing I really feel lacking in Omnifocus is some kind of daily journal - so you can refer back to everything that was ticked off as done on a given day. However, I havent got a clue where to start with Hazel, I am a relatively new mac user and just don't know where to begin. If anyone here can offer to set this up for me for a reasonable fee or point me at documentation from a very basic level ie non programmer level, I'd be very interested... Thanks in advance![/QUOTE]

Bring up the Completed perspective under the Perspectives menu and you'll see all of your completed actions. Use View->Columns->Completion Date to turn on a column showing the completion date.

Casslar 2013-02-26 01:34 AM

Thanks whpalmer4 - do you know of any way to export this view as some kind of a daily report? Thats what I am really after, and feel there must be a simpler way than the scripts etc in this thread! Thanks in advance!

whpalmer4 2013-02-26 11:40 AM

I have a rule of thumb I follow: if I need to do XYZ, and RobTrew has written a script that does XYZ (or something very similar), I install Rob's script and look no further.

The only problem with that plan here is that you may not have Hazel and Day One. It's possible to tinker with Rob's script a bit to remove the need for Day One and just dump everything in a text file (it actually already does that, but doesn't retain the file past the end of the day), and it isn't absolutely necessary to use Hazel to trigger the script. By far the path of least resistance would be to simply buy Hazel; it can be used for many other tasks besides this. Day One you may or may not want; I'm willing to provide a copy of Rob's script that simply appends endlessly to a text file rather than shoveling the data off to Day One.

Before you go down that path, however, you might consider how pressing your need is to have this information outside of OmniFocus. There's a built-in Completed perspective which will show you all the completed actions in your database. You can turn on a column that shows the date and time of completion via the View->Columns->Completion Date command. If you just select a bunch of actions, Edit->Copy, switch to your favorite text editor or Mail application, Edit->Paste will give you the text of the action names on separate lines.

uscmeche 2013-03-10 04:34 PM

Love this script!
 
Thanks RobTrew!

Actually ended up slightly altering to write the output to a text file I use (personal vs. work | day one vs. NVAlt). Super easy based on the way RobTrew wrote the original. Thank you again good sir.

emory 2013-03-11 08:50 AM

I've been [URL="https://github.com/ttscoff/Slogger"]slogger[/URL] to do this, which also pulls my daily bookmarks from pinboard, article links in instapaper, photos from Flickr, etc. etc.

Oceannagirl 2013-03-22 06:42 AM

I found a problem. When i sync the done items to dayone in iPad, it will create two diaries. one is blank. And if i delete it, it will be create again when i click the done items diary.

marcia 2013-05-01 07:02 AM

Tagging for Day One
 
If the completed OF item contains a Day One tag as a hashtag it can become a tagged entry by going to Day One's iOS Settings > Advanced > Hashtags > Convert All Hashtags.

I haven't figured out how to get Day One to do this automatically or how to do this in the Mac app.

Edit: I figured out how to do this in the Mac app: Edit the entry and then click Done, you will be prompted to add the hashtag as a Tag. Click "do not show this message again" and it will do it automatically when the entry is edited. To go back to being prompted go to Preferences > General > Prompt to Add Tags from #Hashtags.

Johsny 2014-04-13 07:57 AM

Hi,

What do I need to do to fix this script to work with Omnifocus2?
Is it possible?

Thanks!


All times are GMT -8. The time now is 12:48 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.