Hi, my name is Isko Salminen.
I'm an adventure seeker and I love exploring nature with my camera and Australian Shepherd called Fire

Filtering by Category: Articles

Keyboard Maestro Macro: Append text to Evernote note

Edit, Nov 15, 2014: I found a way to work around the issue of not having Evernote running while executing this macro. Check out the updated macro.

Edit, May 8, 2014: As this was originally written in 2012, and as there have been many updates to Evernote and Keyboard Maestro, I updated the macro to work with the latest versions. The updated macro also addresses the focus issue mentioned in the comments by Pawel.

---

Ben Brooks wrote an article on how he uses Keyboard Maestro and a hot key trigger to save and append quotes in a text file for later reference. You can read his article here.

Ben's solution was great but I needed to modify it a bit for me as, instead of a single text file, I wanted to save the quotes in a single Evernote note.

I've never used Keyboard Maestro before but with Ben's macro, some Googling and trial and error I managed to hack together a solutions. Here's how I modified Ben's macro:

append-to-evernote-macro.png

Most of it is the same (I just changed the hot key, a personal preference), but the "Open URL:" is the key part.

For this to work, if you don't already have one, create a new note in Evernote. Also, make sure to sync Evernote at this point. To get the URL for the note, right-click on it and select "Copy note link".

copy-note-linkin-evernote.jpg

This will give you a http:// link to the note. But for this macro to work, you'll need the old evernote:// style link.

Get the evernote:// style link in Evernote

If you use the http:// link in the macro, it won't work. The easiest way I found to get the evernote:// link is to paste the http:// link as plain text to an blank Evernote note (Edit -> Paste As Plain Text).

Now copy this link and paste it as the URL to be opened, and select Evernote as the application to open it with.

How to make the script work even if Evernote is not currently running

Previously, if Evernote wasn’t running in the background, this macro didn’t work. It would open Evernote app and try to append the text, but the macro would finish way before Evernote app was even up and running. 

To work around this issue, I added two extra steps. First, we activate Evernote and bring it to the front. At the same time we pause the script until it detects Evernote is at the front. Then, after opening the note we want to append the text to, we add a small delay until we have the note window open. We check this against the window title (change the Title to what ever you call your note).

This way we only paste the text after 1) we have Evernote running, and 2) we have the right note window open and at the front.

How to fix the focus issue

Evernote used to set the focus on the note body, but ever since the update, it now focuses on the note title instead. To get around this, and to paste the text to the note body, I added an extra Tab-keystroke action before the Insert Text action. This will move the focus from the note title to the body before the text is inserted.

tab-action.png

And that's it. I also made some minor modifications to Ben's append text but this is just for my taste:

%NamedClipboard%Quoted text% | saved %ShortDate% %ShortTime%
%NamedClipboard%URL%
%Return%
---
%Return%
%Return%

You can find more great articles on Ben's Keyboard Maestro series.

Some random photos of Fire

​Few weeks ago I went through about 5000 photos of Fire from the past 2 and a half years. I wanted to find some fun photos of him to send to his "mommy".

These are few from the bunch that I send.

fire_-_2012-05-21.jpg
fire_-_2011-10-15.jpg
fire_-_2012-05-21_(1).jpg
fire_-_2012-06-22_(2).jpg
fire_-_2012-06-22_(1).jpg
fire_-_2012-06-22.jpg
fire_-_2012-06-23_(1).jpg
fire_-_2012-06-21.jpg
fire_-_2012-01-22_(1).jpg
fire_-_2012-06-23_(2).jpg
fire_-_2012-10-14_(1).jpg

Wallpaper pack: Fire in snow

wallpaper-pack-fire.jpg

​Here's a set of wallpapers I did recently for myself from this photo of Fire. As they turned out pretty good, I decided to share these with everyone.

You can download the wallpapers in different sizes here:

Desktop | iPad | iPhone 5 | iPhone 4 (and below) 

If you like them, please share this page with your friends.

Saint Vacant Derby Boot

saint-vacant-derby-boot-tan.jpg

Yesterday while on my way to the office, I saw these on the window of Popot and decided to go in and try them on. I really liked the design and material of the shoes but they didn't have them in my size. Disappointed I left my details in the store–just in case they could find a pair with my size somewhere.

Well today I got a call that they found a pair. They had called the Finish designer of the shoes, Janne Lax, and he had brought a pair to the store himself. Nice! 

As our office is close by, I decided to head right over. 

The shoes fit perfectly, are really comfortable to wear and the design is just what I was looking for. Although they are a bit pricey for shoes (remember, I usually wear just sneakers), I decided to go with them and bought them right away. 

I couldn't be happier! There's something really exceptional about well designed and crafted leather shoes. If treated right these should last me a long time.

The service at Popot was beyond awesome. If you're ever around, go over and see their store. As a nice bonus I got to talk with Janne about the shoes and got some tips on how to maintain them. If you're interested, also check out these shoes that he designed together with Makia: Makia & Saint Vacant Desert Boot.

Photo courtesy of Popot.fi

Edit: here's me wearing my boots

How to “fix” iMessage when switching to a new iPhone

I switched from iPhone 4 (not 4S, just 4) to the new iPhone 5 week ago. After syncing all my data through iCloud and retyping all my passwords to different services I noticed that iMessages wasn't working properly. 

If someone send me iMessage to my email address, that came through but iMessages send to my phone number didn't come through as iMessages but as regular SMS's. Apparently this was caused by the way Apple handles iMessages: they are not related to your phone number, but instead to your device ID.

Here's how I got my iMessage working:

  1. If you still can access your old iPhone and it's still connected to the network (mine wasn't as they cut the connection the second they activated the new Nano SIM), go to Settings → Messages and switch off iMessages.
  2. Go to your Apple Support Profile page at https://supportprofile.apple.com/MySupportProfile.do and remove your old iPhone from the list (click the product, click Unregister). This should remove your phone number linking to your old iPhone's ID.
  3. While we're here, let's register our new iPhone if it's not yet registered.
  4. On your new iPhone, go to Settings → Messages and first turn off iMessages and then on. This should cause your new iPhone to be associated with your phone number. Go to Send & Receive under Messages and double check that your phone number appears here.
  5. If you have other iOS devices, switch iMessage off and on on them as well.

This fixed iMessages for me. Let me know if you've found any other ways to fix this!

Happy birthday: Fire turns 3

img_9780.jpg

Today is Fire's third birthday, he's officially an adult now. Can't believe it has already been 2 and a half years since I took the trip to Frankfurt and came home with this little furry monster.

Year 2011

I started my Project 365 but failed miserably. On the plus side, I convinced my friend Janne to start the project with me and he kept at it the whole year!

I started a project to minimize my wardrobe and ended up getting rid of 95% of my clothes.

I co-founded a company.

went surfing to Panama with Matias, Ville and Mikko.

I drank way too much beer at Oktoberfest with Leslie, Ross and Josh.

We finally got our office.

I got to celebrate the Christmas with my entire family and my nephew/godson who turned 1 this Christmas.

I started the redesign of this site but never finished.

Here's to a great 2012!!!