Skip to content

Instantly share code, notes, and snippets.

@bachya
Created July 22, 2014 17:19
Show Gist options
  • Save bachya/9168693a094124ccdf63 to your computer and use it in GitHub Desktop.
Save bachya/9168693a094124ccdf63 to your computer and use it in GitHub Desktop.
Fenced Event Challenge

The Scenario

I often need to schedule events and travel time to/from those events (so that others don't book meetings when I'm traveling). Creating those "fenced" events is tedious and doesn't satisfy my need for an elegant solution.

The Desired Outcome

I would like a Launch Center Pro action that:

  1. prompts me to enter an event/date/time combo
  2. prompts me to enter an amount of time (in minutes) for the "beginning fence"
  3. prompts me to enter an amount of time (in minutes) for the "ending fence"
  4. creates three events – one for the event itself and two for the fences – in Fantastical
  • The main event should use the text entered in Launch Center Pro for the title.
  • The fenced events should use "UNAVAILABLE" for the title.
  1. returns to Launch Center Pro

Example

INPUT:

Event: Appointment 8/19 11am Starting Fence: 30 Ending Fence: 45

EXPECTED RESULT:

Three events created:

  1. Appointment, 8/19/2014 from 11:00 AM to 12:00 PM
  2. UNAVAILABLE, 8/19/2014 from 10:30 AM to 11:00 AM
  3. UNAVAILABLE, 8/19/2014 from 11:00 AM to 11:45 AM

A Starting Place

https://launchcenterpro.com/s5vdv1

Right now, this action simply creates a reminder in Fantastical to manually create the fenced events later on.

Rules

  • Any URL scheme-compatible iOS app is fair game.
@bachya
Copy link
Author

bachya commented Aug 17, 2014

Thank you, @n8henrie! Appreciate your feedback. Excited to share what I came up with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment