Here is my post about this workflow of the Alfred forum. You can request features there. If you have any questions or comments, I'd love to hear them there or by email at johnvining@gmail.com.
At this point, this Alfred Workflow requires:
- The Day One CLI
- That you're using Safari or Chrome (FF looks like a no-go at the present moment)
(It used to require a Ruby script by Bret Terpstra but I decided the ease of installation beat out his date logic. I assume most people weren't using it.)
When you first import it, change, if you'd like, the variables in the lw
script
browser
: Which browser you want to use. "Safari" or "Chrome". Safari is default.prefix
: What comes before a link. Default isReading:
separator
: What separates a link and a comment. Default is-
. Change to\n\n
if you would like the comment to be on a separate line.quoteSeparator
: What separates a link and a quote. Default is:\n\n>
.
The applescript files are just for you to look at and for me to keep track of changes. You only need to download the extension itself to get things working.
log
logs to Day One.lw
andlw!
-- "log web" -- log the frontmost website and title as a link.lw!
creates a starred entry.lw comment
andlw! comment
do the same, but with a comment.lwq
andlwq!
create an entry with a link and the text on the clipboard as a quote.
Errors: Everything worked out unless
- You got a notification with just a title and no text,
- You got a notification with a title and an error, or
- You didn't get a notification.
- Add a
lwq comment
function. - Combine the
log
andlw
scripts.
- Tick marks don't work.
- When the script can't get to Safari, it fails silently.
- Added support for Chrome and returned the default formatting options to normal.
- Switched over to just use the Day One CLI. I imagine this will be about three times easier to get set up and doesn't lose much functionality.
- Added a notification letting using know that the script ran successfully. Requested here.
- Added
lwq
andlwq!
, which add a link and any text in your clipboard as a quote. - Added an easier way to change the text separating the link and comment. Requested here.
- Added images to the readme.