Categories
Tech

Essential Working From Home Apps and Tools

All of this working from home has meant that I have not spent this much uninterrupted time behind my personal computer since I do not know when. This is to say, over the past few weeks I have dialed in my personal setup in a way that is super-useful to me and I thought I’d share the apps/tools I’ve started/revisited using since working from home during the quarantine.

First up, Apple’s AirPods Pros.

I’ve never owned headphones with active noise cancelation before but, man, where have these been all of my life???? Right now, there is a huge racket in my house from one of my kids shooting hoops in his room with a nerf basketball. I can feel the ball bouncing but my concentration is not broken because I can not hear the sound of the ball bouncing. This is AMAZING!

Throughout the day I am bathed in the warm nothingness of active noise cancellation. On occasion I’ve noticed that I do not even have music playing, I’m just enjoying the near-silence that they offer. If you need to concentrate in a noisy house, highly recommended.

Audio/Listening/Zoom

Over the past few weeks I’ve evolved a somewhat complicated Zoom/music listening setup on my iMac. At work, we live in Zoom and I’ve had to do some refactoring to balance my music and Zoom needs. I’ll detail a few of those tools here:

Triode: I listen to The Current throughout the day when I’m not actively listening to music from my collection. Triode is *the* best radio playing application, ever. If you listen to internet radio stations, hard to imagine life without it.

I want my music to play through my Kinter Tripath amplifier to my external speakers but want my Zoom/Facetime audio to go through my iMac display. This black magic wizardry is achieved through an application called SoundSource from Rogue Ameoba. Combined with a cheap dongle, I can easily send audio from any app to any output. Awesome application, highly recommended.

As an aside, I have been using this time while trapped in my office to re-rip some CDs into Lossless (ALAC) format and am using XLD running on an old, headless Mac mini to do so.

Other apps for maintaining sanity:

DayOne Journal. I’ve been using this application for years but making notes about what it is like to experience this quarantine has felt important.

Waking Up. Sam Harris’ meditation app has been my meditation app of choice for about a year now. I have less time to use it now that we are all at home but every time I use it, I feel better.

I’ve got a few other notable mentions like Parallels, Microsoft Teams and OneDrive which have all made getting real work in a Windows-centric environment less unproductive. Also, I just started using GeekTool to pipe some useful outputs to my desktop but the jury is still out on how useful that is. If time permits I’ll circle back in a few weeks to update here.

Categories
Links

Friday Links for Feb 21, 2020

Categories
Automation Tech

Logging throughout the day with Day One and iOS shortcuts

Spending some time on the Day One community page on Facebook it seems like for those who journal multiple times per day–adding notes, thoughts, activities throughout the day–there are two schools of thought for capturing throughout the day:

1.) create a new entry in Day One for each of the day’s multiple entries
2.) append to a single daily entry throughout the day.

I fall firmly into the second camp, using markdown bullets and a time stamp to log entries to a single entry throughout the day.

Unfortunately, for all of Day One’s strengths and features it does not make it especially easy to automate the process of appending thoughts/notes to a single day’s entry throughout the day.

In the past, I might have relied on a bit of AppleScript or Keyboard Maestro to solve this problem. But now, my time is split evenly between sitting behind my Mac and using my iPad.

Apple is making it harder and harder to write one-size-fits-all automations that can be used on the Mac and on the iPad and iPhone. Automation is now platform specific: shortcuts on iOS and some combination of automator, AppleScript, keyboard maestro, Alfred, etc. on the Mac.

But whether I’m in front of my Mac or my iPad, I always have my iPhone with me. And while it’s not the best device for capture, I decided to focus my “capture and append” automation efforts on the iPhone rather than string together a bunch of hacks on my Mac.

I wrote an iOS shortcut I wrote does the following:

  • checks to see if a Day One entry exists for today
  • if one doesn’t exist it prompts you to create either:
    • a blank entry
    • an entry using a few prompt questions
  • prompts for log entry
  • asks if you want to put time with the log entry
  • appends the time/log entry to the end of today’s journal entry

If you are going to use this shortcut you must expand the six “Day One” actions in the shortcut and change the “Journal” field to match the name of the journal you’re using in Day One.

You may also want to edit the questions in the “A new entry from prompts” section. Just make sure to split them up with a line break.

Once you make those changes, it should just work for you.

The big caveat here is that if you use Day One on both iPad and iPhone, this shortcut seems to only work on one device. It works great on my iPhone. But if I try to use it on my iPad and I haven’t yet opened Day One on my iPad the shortcut doesn’t realize that I’ve already created an entry for today on my iPhone.

This seems to be related to background syncing of the journal contents. The solution is just use it on one iOS device OR make sure you open up Day One and that it syncs before running it on that other device. That being said, even when I do run it on the iPad, the appended line doesn’t show up on the entry, which is weird because if I view the entry on my iPhone, it’s there.

Again, syncing seems to be the issue here. Day One support has been helpful (as always) in helping me troubleshoot this but it seems like iPadOS background syncing is just flakey right now.

Here’s a link to the shortcut. Ok, happy logging!

Note/Update: the shortcut now copies the entry to your clipboard. Occasionally it seems like the shortcut doesn’t actually append the log entry as expected. I don’t know why. Restarting my iPhone seemed to solve the problem so probably syncing related but in any case, by copying the entry to your clipboard if for some reason the log note doesn’t appear when the entry is opened, you can always just paste it in from the clipboard. Lame, I know. I wish shortcuts were more reliable.

Categories
Automation

AppleScript for Day One braindump to Things

Highlighting the truly first-world problem of Mac automation being totally different from iOS automation, I wrote up a simple AppleScript that mirrors the functionality of my iOS shortcut that takes my brain dump list out of Day One and “intelligently” transfers it to Things.

When I write my morning entry in my Day One journal I sometimes brainstorm a little todo list, and this allows me to copy it and load the todo list into Things. Moreover, it looks for the string “today” in the brain dump and puts those items in the Today list in things.

set TodayStr to "today"
set Total to 0
set listContents to get the clipboard
set delimitedList to paragraphs of listContents


tell application "Things3"
	repeat with currentTodo in delimitedList
		if currentTodo as string is not equal to "" then
			set Total to Total + 1
			if currentTodo contains TodayStr then
				set newToDo to make new to do ¬
					with properties {name:currentTodo, due date:current date} ¬
					at beginning of list "Today"
							else
				set newToDo to make new to do ¬
					with properties {name:currentTodo} ¬
												end if
		end if
			end repeat
		end tell

set theDialogText to "Added " & Total & " Todo Items to Things"
display dialog theDialogText

I mapped this in Alfred to ⌘T so that when I’m in Day One and finish brainstorming what I need to tackle, I can just highlight the list and hit ⌘T and the list is moved to Things. Not brain surgery but really useful for me.

Still though it does feel weird to have to automate using AppleScript on the Mac and Shortcuts on iOS.

Especially now that the automating functionality offered by apps like Day One differs depending on whether you are on a Mac or on iOS. Looking at you Append function that’s available on iOS.

Categories
Automation

Amazon Order History to Markdown table in Day One

Back in the spring I wrote an automator action that incorporated some Python code to take a downloaded Amazon Order History file and massage it into a nice Markdown table and creates a Day One entry.

A few months back though the Day One command line tool stopped working and that broke this action. But surprise!!! The command line tool works again (although not as well as it used to). So I modified the automator action to get it working again. 

So, pop this workflow in your ~/Library/Services folder and you can just right click on the downloaded Amazon order history file to create a Day One entry from the purchases. 

Screen Shot 2020 01 08 at 7 59 24 AM

 

This is what the Markdown table looks like as a Day One entry (atypically expensive month, FWIW 🙂

Screen Shot 2020 01 08 at 8 02 20 AM