Skip to content

Instantly share code, notes, and snippets.

@freklov
freklov / Workflow-TextfileToReminders.md
Last active June 16, 2017 06:37
Workflow.is for iOS Reminders: Create a checklist in Reminders app using a plain text file located on a cloud storage.

This workflow allows you to create or add checklist items to a dedicated list in the Reminders app and to automatically open Reminders app when finishing. If the list contains not yet done items, the workflow asks you whether to keep or to delete these items.

Howto

  • Prepare a plain text file with checklist items.
  • Each line describes a single item.
  • Safe the plain text file to iCloud Drive or any other Cloud Service that is available through iOS’s file picker service.
@freklov
freklov / contacts2vcard.applescript
Created October 29, 2017 06:57
AppleScript for Apple Contacts: Export all contacts as individual vCards
-- requires a folder "vCards" on the user desktop
--
set desktopPath to (path to the desktop folder as string) & "vCards"
alias desktopPath
tell application "Contacts"
repeat with cardPerson in people
set nameOfvCard to name of cardPerson & ".vcf"
set outFile to (open for access file (desktopPath & ":" & nameOfvCard) with write permission)
write (vcard of cardPerson as text) to outFile
@freklov
freklov / Add Event(s)
Created April 21, 2019 12:57
Apple Shortcuts: Fast adding multiple occurances of an event and add the same events to a second calendar.
Fast adding multiple occurances of an event and add the same events to a second calendar. For the second calendar allow different start and end times.
How it works:
Choose a date and time, choose next date and time, ....., select subject, location, calendar.
Choose a secondary calendar, select adjustments of start and end times, justify subject and location.
All chosen dates are created in both calendars, in the secondary calendar (optional) with an an
earlier start time and a later end time.
How is this helpful? I have the obstacle, that I have a business and a private calendar. For data privacy requirements,