This is a bash script that only requires a single command in Terminal and a single swipe on your iPhone to make a phone call. It is an adaptation of my command line Pushover script, so please review that before proceeding below.#

Create a file called callhome at /usr/local/bin with the following contents:#

    #! /bin/bash#


action="Call Home"#

url_title="Make the Call"#

curl -s \#

-F "token=$APP_TOKEN" \#

-F "user=$USER_KEY" \#

-F "title=$action" \#

-F "message=$message" \#

-F "url_title=$url_title" \#

-F "url=tel:8005551212" \#


Replace the two instances of 8005551212 with a phone number, and $APP_TOKEN and $USER_KEY with your app token and user key.#

Make the script executable: chmod +x callhome.#

Now all you have to do is type callhome from the command line. When you get a notification on your iPhone, swipe it. Pushover will open the supplementary URL, which will dial the number.#

Want to comment? The permalink for this post is

If you include emoji in your Fargo blog (using the [Emoji Cheat Sheet]( format), they will render on your WordPress page in the latest update to my [plugin](

Of all the Weird Al videos that have been released so far over his 8-day streak, this one is my favorite. It's clever and well-animated. #


[Pushbullet]( is the best service I've seen so far that will allow me to push info from my phone to my work computer and vice versa. (I cannot install [Command-C]( at the office.) I installed the Chrome extension and the iPhone app. From the Chrome extension, I can push a note or a list to the iOS app. This in itself is unremarkable -- I use Pushover all the time for that. But the killer feature is that I can send a link to my phone, and the moment I swipe the notification, that URL will open in the Chrome browser. And if I send an address to my iPhone, after I swipe the notification Google Maps will open to that location. #

Also, I can quickly send the clipboard contents on my iPhone to the desktop extension. This is a lot faster than emailing text to myself or uploading it to Dropbox via Drafts or Launch Center Pro.#

#### IFTTT#

There's an [IFTTT channel]( that allows you to push a note, link, file or address to your iPhone. I haven't played around with this, but there are many shared recipes for the channel, and I imagine you can create a recipe to automatically send images from a feed to your device.#

#### URL Schemes#

Pushbullet has [URL schemes]( [Bachya]( wrote this bookmarklet to send the current page in your iOS web browser to the Pushbullet app:#

javascript:window.location='pushbullet://compose?type=link&title=' + encodeURIComponent(document.title) + '&url=' + encodeURIComponent(window.location)#

### The Only Downside: Google#

I've been working to become less reliant on Google -- for example, [moving to]( With Pushbullet, you can only sign in with Google, and you have no choice but to open links and addresses in Google Chrome and Google Maps. Granted, their iOS maps app is my default, and I use Chrome for Mac at work, but I still would prefer to have a _choice_.#

### Pushbullet vs. Pushover#

I have been using my [Pushover command line script]( to send text to my phone, and after a recent release, now a swipe of a Pushover notification will open a supplementary URL (if available). This is great, because I can execute Drafts actions with a swipe of a notification. For example I can make my message an URL and the Drafts action "launch url" (which is just `launch://?url=[[draft]]`). This will open a link in Safari for iOS with a single swipe. However, it is definitely less work for me to just open the Pushbullet extension and send a link to my phone that way. #

I will continue to use my Pushover script to execute actions in Drafts, but Pushbullet is more convenient if I just want to quickly send text or a link to my phone.#

I am constantly fidgeting with my productivity apps and system. I was engaged to Paperless for many months, but now I am playing with Todo.txt on the command line and on iOS. As a result, I've been thinking about types of lists and the most appropriate apps for each type of list. #

### 1. Actionable Tasks#

These lists include only tasks that require a physical (measurable/observable) action to mark as complete. This is what the GTD system is all about. Over the years I have used Omnifocus, TaskPaper, Paperless, and now Todo.txt. I have found that -- for me -- text-file-based apps are the best (TaskPaper, Todo.txt). They both support tags/contexts (the @ sign) and projects (the + sign in Todo.txt; a string followed by a : for TaskPaper). I can open them in any text editor, or I can manipulate the text in supported apps. (Jesse Grosjean removed his TaskPaper app from the iOS App Store, but fortunately Ole Zorn created an excellent TaskPaper module for Editorial.)#

#### 1a. Actionable Tasks With "Hard" Due Dates#

Some actionable tasks need to be done at a very specific time, or _by_ a very specific time. "Mail the DVD at 8:30am" or "Go to Trader Joe's at 6pm." These I put in Due or Fantastical/iOS Reminders. #

### 2. "Consumption" Lists#

These are items that I want to consume: books, movies, music tracks, groceries. None of this is urgent (well, except for food). These items do require checkboxes, because once I've rented/downloaded/borrowed/purchased the item, I don't need to do it again (... except for food). I am still using Paperless for this, because the app provides a note field where I can include all the meta info I need (URLs, for example, or who suggested a particular book). And in Paperless, I can uncheck a grocery item to re-add it to my shopping list.#

### 3. Ideas Lists#

I have a list that is more-or-less called, "Things I Need to Remember to Do at Home to Avoid the Wrath of My Wife." Another is "Lunch Ideas." These items should not have checkboxes, because they are reference materials, not one-time (or even recurring) tasks. Right now I have these lists in Listary which pulls notes with a specific tag from Simplenote. You can toggle a setting for a list in Paperless to remove checkboxes and just use the list as a reference. I have also used [Carbonfin Outliner]( with the checkboxes toggled off for these types of lists.#


Of course, one can store _all_ these lists in simple text files and store them in a single directory. [nvAlt]( fans do this. But am I either in front of my phone or a work computer, and I cannot sync Dropbox at work. (One can sync an nvAlt folder with Dropbox.) Although I feel too spread out with my various list apps, I do believe that the ultimate test is whether my system supports both "brain dump" and "information access." Can I quickly note down an idea or todo? And can I easily find it later? Part of my problem is that I don't always recall where I put a todo. With this three-part categorical division, I hope I can better recall a todo's location. If it's actionable, it's in Todo.txt or iOS Reminders; if it's about something I want to buy, it's in Paperless; if it's an evergreen list, it's in Listary. We'll see how it goes.#

If you're trying to wrap your head around url schemes, encoding and x-callback-url, listen to this [excellent podcast]( in which the hosts of Pocket Sized Podcast interview Alex Guyot.#

Here's [the link to the .m4a file](

I recently created an [IFTTT]( recipe to add the first url mentioned in a tweet to Instapaper if I favorite the tweet. Now I am concerned that someone will interpret my favorite as condoning the content of a tweet, whereas all it means is that I want to "read it later." A favorite is not the equivalent of a on Facebook.#


The newest version of my action ([import it into LCP]( includes priorities A-C.#

texttool://x-callback-url/transform?text=[list|clipboard=[clipboard]|prompt=[prompt-return:tasks]]&method=affix&prefix=[-list:priorities|A=%28A%29%20|B=%28B%29%20|C=%28C%29%20|none={{}}][textexpander:ddate]%20&suffix=[-list|no context={{}}|@online=%20%40online|contexts=%20%40[prompt-list( @)]][-list|no project={{}}|+Bills=%20%2BBills|projects=%20%2B[prompt-list( +)]]&scope=lines&x-success={{drafts:///create?text=[[output]]&action=todotxt}}#

So now you can send something like the following to Drafts:#

(A) 2014-07-10 complete task @context +project#

This works with the [Todo.txt]( command line interface and the iPhone app. #

Visit the [first post in this series]( to get the Drafts Dropbox action, and [the second one]( for more about the contexts and projects.#

[Yesterday]( I posted a Launch Center Pro action to prepend the date and append a single tag to all the items in a list, and then append that text to a file in Dropbox. Since then, I have been using the [todo.txt command line tool]( and decided to upgrade the action.#

This action lets you enter a task and then enter either (a) no tag (I prefer that to "context"); (b) a tag called `@online`; (c) any number of tags; followed by (d) no project; (e) a project called `+bills`; (f) any number of projects. To enter multiple tags or projects you need to hit Return after each, and then Next only when you're done.#

[Import the new action]( Or enter the following in the action composer:#

texttool://x-callback-url/transform?text=[prompt-return:tasks]&method=affix&prefix=[textexpander:ddate]%20&suffix=[-list|no tag={{}}|@online=%20%40online|tag=%20%40[prompt-list( @)]][-list|no project={{}}|+Bills=%20%2BBills|project=%20%2B[prompt-list( +)]]&scope=lines&x-success={{drafts:///create?text=[[output]]&action=todotxt}}#

If you can decipher this action then you ought to be able to customize it, e.g., add `+work` in the projects list.#

A blog reader emailed the following question:#

> I have texttool, draft and LCP apps on my iphone.#

> Please help me this issue. #

> I have todo.txt file in directory dropbox/todo/todo.txt #

> I write in draft app one note with multiline line:#

> Task1#

> Task2 #

> Task3 #

> I want to add this list to shown todo.txt (each line separate) in this format: #

> [current date] task1 @grocery #

> [current date] task2 @grocery #

> [current date] task3 @grocery #

> @grocery tag optional and may be replaced with other tag.#

> How to do this?#

Here is a solution that adds the current date before each list item and the single tag of your choice after each list item.#

[Import the LCP action]( or enter the following in the action composer:#


When I tap on this action, I enter each list item on a new line (hitting Return after each item except the last) and when I'm done I hit "Next".#




Then the next prompt asks me to enter a tag:#


The action outputs the following in TextTool:#

2014-07-08 apple @groceries#

2014-07-08 orange @groceries#

2014-07-08 banana @groceries#

The above action requires that I have a TextExpander snippet called _ddate_ in the following format: %Y-%m-%d, and that I have imported snippets into Launch Center Pro. #

###Prepending the Output to the todo.txt File#

[Import this action]( to prepend the output from TextTool to your _todo.txt_ file, or enter the following into the LCP action composer:#


The above action requires that you [import this Dropbox action](drafts://x-callback-url/import_action?type=dropbox&name=todotxt&path=%2Ftodo%2F&filenametype=2&filename=todo&ext=txt&writetype=1&template=%5B%5Bdraft%5D%5D) into Drafts. Or enter the following as a Dropbox action:#

Name: todotxt#

Path: /todo/#

File (predefined): todo#

Ext: txt#

Write: Prepend#

Template: [[draft]]#

It is possible to accomplish the above without LCP. [Import this URL action](drafts://x-callback-url/import_action?type=URL&name=date-list-tag&url=texttool%3A%2F%2Fx-callback-url%2Ftransform%3Ftext%3D%5B%5Bbody%5D%5D%26method%3Daffix%26prefix%3Dddate%2520%26suffix%3D%2520%2540%5B%5Btitle%5D%5D%26scope%3Dlines%26x-success%3D%7B%7Bdrafts%3A%2F%2F%2Fcreate%3Ftext%3D%5B%5Boutput%5D%5D%26action%3Dtodotxt%7D%7D) into Drafts, or enter the following as an URL action:#


The only difference is that you need to enter the tag name on the first line:#





Everything else works exactly the same. (You still need to install the Dropbox action and to import TextExpander snippets.)#

SoundCloud has url schemes to jump to a user or a specific track in the iOS app. I have cobbled the following together after reading a few threads on Stack Overflow.#

###How to Create a User URL Scheme#

Let's get the url scheme for [Tasha Blank]( Click on the share icon then choose the Embed tab and then copy the embed code into a text editor. #


Look for ``. Copy the numerical string immediately after that, up until the `&`. Put that string after `soundcloud://users/` and you'll get [soundcloud://users/325143](soundcloud://users/325143). If you click on this link on your iOS device, it will bring you to her page. And you can add it to Launch Center Pro in an action or list.#

###How to Create a Track URL Scheme#

Let's get the url scheme for [one of Tasha's recent tracks]( Click on the share icon then choose the Embed tab and then copy the embed code into a text editor.#


Look for ``. Copy the numerical string immediately after that, up until the `&`. Put that string after `soundcloud://tracks/` and you'll get [soundcloud://tracks:156299506](soundcloud://tracks:156299506). If you click on this link on your iOS device, it will bring you to that track and start to auto-play. And you can add it to Launch Center Pro in an action or list.#


I don't know how else to get track and user IDs without signing up for a developer account, but if you find a solution, please let me know in the comments or on [Twitter](

If you're browsing the Tumblr or Instagram apps on your iOS device and want to get the share URL, they are formatted as follows:#

Unfortunately, these are web links. What if you want a link that will bring you right to that post ID in the _app_? I have written a couple of Launch Center Pro actions to automate these processes.#


The URL scheme for a Tumblr post (as per [GitHub]( is as follows:#


All the information you need is in the web link, but you need to rearrange it all to make it work.#

[Import the Tumblr action]( or enter the following into LCP:#


To make this action work, you will also need TextTool and Drafts. And you will need to [import this URL action into Drafts](drafts://x-callback-url/import_action?type=URL&name=tumblr-id&url=drafts%3A%2F%2F%2Fcreate%3Ftext%3D%7B%7Btumblr%3A%2F%2Fx-callback-url%2Fblog%3FblogName%3D%5B%5Bline%7C3%5D%5D%26postID%3D%5B%5Bline%7C7%5D%5D%7D%7D).#

Let's work with a random Tumblr post to see how this works:#

Copy this URL to your iOS clipboard, and then tap on the Tumblr action in LCP. LCP sends this string to TextTool, which splits the string at the `/`:#






It then takes that output and sends it back to TextTool to split at the `.`:#









It then sends that output to Drafts and triggers the _tumblr-id_ URL action:#


This action inputs lines 3 and 7 of the draft into the relevant points of the url scheme, and creates a new draft with the final result:#


And just to make the action icon look nice, I added `lc-icon=tumblr`.#


The Instagram action is more complicated. It requires TextTool, Drafts, and Textastic. [Import the LCP action]( or enter this into a new action:#


Instagram's url scheme for a post is as follows (as per its [iPhone Hooks page](


The media ID is not part of the web URL. But we can get that info from Instagrams's [Embed API]( Let's use an example post (``) and add it after the `url=`: #

This API returns JSON:#

{"provider_url":"http:\/\/\/","media_id":"759343924702114562_1483611","title":"Another beautiful day in the city! \ud83d\ude0d","url":"http:\/\/\/hphotos-ak-xfp1\/10537269_595401073912091_331298792_n.jpg","author_name":"newyorkcity","height":640,"width":640,"version":"1.0","author_url":"http:\/\/\/newyorkcity","author_id":1483611,"type":"photo","provider_name":"Instagram"} #

We can see that the media_id is 759343924702114562_1483611. `instagram://media?id=759343924702114562_1483611` would bring us right to that post in the app, but we need the LCP action to automate the process.#

We first need an easy way to grab the HTML of the API results. Textastic has an [url scheme]( that lets you download a file and open the HTML in the editor by replacing `http://` with `textastic://`. The first part of the LCP action does just that. However, even though Textastic supports x-callback-url, it doesn't for this particular action. So we need to tap on the share button at top right of the screen after the HTML has downloaded, and choose "Copy All." Then we take advantage of a new feature introduced in LCP: lc-callback. For apps that do not support x-callback-url, this is the next best thing. We define the callback action, but instead of it triggering automatically after the first action, we double-tap on the home button (to get the app launcher) and choose LCP. Once we tap on LCP, the next action gets triggered. #

Because the embed API also provides the raw image URL for the Instagram post, the lc-callback starts with a list. We can get the iOS url scheme ("url") or the raw image URL ("image"). Let's see what happens when you choose "url":#

The entire HTML is sent to TextTool, which splits the string at `"`:#












Another beautiful day in the city! \ud83d\ude0d#
































This entire string is then sent to Drafts, and the _insta-api_ action is triggered. [Import it into Drafts](drafts://x-callback-url/import_action?type=URL&name=insta-api&url=drafts%3A%2F%2F%2Fcreate%3Ftext%3D%7B%7Binstagram%3A%2F%2Fmedia%3Fid%3D%5B%5Bline%7C8%5D%5D%7D%7D) or enter the following as an URL action:#


It simply takes line 8 -- which contains the media_ID -- and inserts into into the URL scheme.#

Now, if we would rather get the raw image URL, we choose "image" after the lc-callback. It also performs a `"` split and sends that output to Drafts, but it instead triggers the _insta-api-url_ action. [Import it into Drafts](drafts://x-callback-url/import_action?type=URL&name=insta-api-url&url=texttool%3A%2F%2Fx-callback-url%2Ftransform%3Ftext%3D%5B%5Bline%7C16%5D%5D%26method%3Dunescape) or enter the following URL action:#


Line 16 -- the raw image URL -- is sent to TextTool. Why? All the forward slashes in the URL are "escaped" #


so we have to unescape them:#

This action stops at TextTool. It has sharing features, so you can do what you like with URL: e.g., download the image.#

To make the action icon look nice, I added `lc-icon=instagram`.#

Granted, this LCP action is not fluid. I think it would possible to perform the conversion without the "Copy All" and lc-callback using the JSON parser in Pythonista, but I'm not proficient enough to accomplish that as of this writing. If you write an action that accomplishes the conversion with fewer steps, I would love to hear from you in the comments section or on Twitter.#

**Thanks** to @epramono and @youens on Twitter for helping me to understand LCP 2.3.x at a deeper level.#

I use Paperless for the majority of my list-making on my iOS devices. I've already written [how to mark an item as complete without using the app]( and [how to view your lists on the web]( Today, I am going to share a unix command line bash script to "print" incomplete items from a list. #

I created a text file called "prl" and put it in /usr/local/bin/:#

#! /bin/bash#


grep -A 1 \\<\/dateCompleted\> ~/Dropbox/Paperless/$list.xml | sed -n 's:.*\(.*\).*:\1:p'#

I made it executable while in that directory: `chmod +x prl`#

Now, to view the incomplete items in any list, I just type `prl` followed by the list name. If I have a list named Bills, I just type `prl Bills` and the script will output all bills that are due. (This script does not output the notes field.)#

###How It Works#

All your Paperless lists are stored as XML files. I use _grep_ to look for all items for which there is no completion date: `` with _-A 1_ to also print out the lines immediately after each match (which are the list items themselves). Those results are piped into a _sed_ which extracts any string sandwiched between `` and ``.#

If I need to see a note, I can do a quick _grep_: `grep -A 1 verizon ~/Dropbox/Paperless/Bills.xml`. This will output all lines matching _verizon_ plus the lines immediately following, including the XML tags. It's not pretty but it will get me the info I need (e.g., the due date).#

Verizon $100.00#


I'm amazed at all the stuff that's available:#


[An Evernote Client](

[A Twitter Client](

I am a keyboard-shortcut fanatic; adding a note to Evernote with syntax like#

geeknote create --title "A Title" --content "Some content." --tags "tag1"#

beats the web interface hands down.#

Granted, the cli doesn't support images, and since I'm ssh-ing into a VPS I can't open media from the command line, but for quick data input/output, nothing beats it. (I'm faster at typing on a physical keyboard than on an iPhone.)#

Today I have released v 2.0 of my plugin, which renders a Fargo OPML file on a WordPress page or blog post using a simple shortcode. The updated version supports the link-blog format (type="idea"). #

View the update and download the zip file [here](

_I take credit for none of the following (other than a few personal tweaks) -- just wanting to share [this solution]( by [Stephen May]( because it's so cool._#

Evernote does not have much of an url scheme beyond `evernote://` which is not terrible useful for productivity nerds. This solution creates a link that will bring you directly to the note of your choice. It requires Pythonista, Drafts, and Launch Center Pro.#

First, you will need to grab some personal information about your Evernote account, and the only way I know how to find it is via the Mac OS X app. In the left sidebar, [right-click on any note and get the note's link]( At the beginning of the link, there will be a six digit string and another digit or two following an `s`. You will need this information for a future step. #

Add the following to Pythonista. You can title it `Evernote Link` or whatever you like. Where it says `evernote:///view/123456/s4/` you will replace the six digit string and the `s4` with the information from the note link you copied from the desktop app. Where it says `` replace the `s4` with the `s..` from your original note link.#

import clipboard#

import sys#

import webbrowser#

import console#

import urllib#

mytext = (sys.argv[1])#

head, sep, tail = mytext.rpartition('/')#

parttwo = head.replace('', '')#

evernoteurl = ('evernote:///view/123456/s4/' + parttwo + '/' + parttwo + '/')#'drafts://x-callback-url/create?text=' + evernoteurl + '&action=Copy%20to%20Clipboard&afterSuccess=Nothing')#

Then add the following action in LCP:#


### How to Get Your Link#

Go to the Evernote app and tap on any note. Choose "Share " and then "Copy link." Then tap on the LCP action. After the script runs, the direct Evernote link will be in a new draft in Drafts, and also copied to the clipboard. If you make links clickable in Drafts and tap on the link, it will bring you right to that note in Evernote. #

If you care about the privacy of your note, then tap on "Share " again and choose "Stop sharing." Your direct link will still work.#

Want to comment? The permalink for this post is

© 2014 Jeffrey Kishner.
Last update: Fri, Oct 24, 2014 at 1:52 PM.