This space is currently unused, and I'm not quite sure what to do with it. If you have any ideas, I would love to hear them.

The Parse In Fantastical Action

October 28, 2013

The Parse In Fantastical Action takes a draft (or Launch Center Pro prompt) and sends it to Fantastical to be parsed. You can parse a single event or multiple events using the same action.


If you want to parse a list of events, leave one completely blank line between each event in your draft. Type each event in natural language as you would if you were typing it directly into Fantastical.

Direct Import Link for Parse In Fantastical Action

Launch Center Pro

In Launch Center Pro, each line is set up as a new event, so do not leave a blank line between events. The LCP prompt is set up as [prompt-list]. This prompt replaces newlines with commas, which is why we require a Pythonista script to change the comma separated events sent from Launch Center into their own individual lines, then sends those to Drafts and run the Parse In Fantastical action to parse them one by one. If you don’t have Pythonista, or don’t want to have to run a script each time you add a single event, Launch Center Pro has a Fantastical action to import a single event which you can find in the Action Composer. If you want to be able to parse multiple events, use this one.

Launch Center Pro Action:

Direct Import Link for Parse In Fantastical Action

Pythonista Script:

Make sure to name your script “Parse In Fantastical” or change your LCP action to match if you choose to name it something else.

import webbrowser
import urllib
import sys

events = sys.argv[1]
i = 0
while i < len(events):
    if events[i] == ',':
        events = events[0:i] + '\n\n' + events[i+1:len(events)]
    i += 1

events = events.encode('utf-8')
events = urllib.quote(events, safe='')

base = 'drafts://x-callback-url/create?text=' + events + '&action=Parse%20In%20Fantastical'