Jump to content

Calendar Workflow


Recommended Posts

Posted (edited)

Displays a monthly calendar. 

 

Download

 

Usage

  • cal [month [year]] [<] [>]

    • enter ↵ Open Supported Calendar Software with week view on selected week.
    • <, > Display calendar of previous/next month.
    • [month [year]] Display calendar with specific month and year. month can be numbers or English words.
  • calconfig More configuration options.

Supported Calendar Software
  • BusyCal
  • Fantastical 2
  • Google Calendar
  • OS X Calendar
 

 

Screenshots

 

screenshot1.png?raw=true

screenshot3.png?raw=true

screenshot2.png?raw=true

 

ChangeLog:

 

Version 1.3.1

1. Support Google Calendar

 

Version 1.3;

1. Support BusyCal and Fantastical 2.
2. Optimize write operation to config file.
Edited by owenwater
Posted

I do the config - change the start day to Monday.

I saw the calendar once

2nd try gives me this for both cal and calconfig

 

Screen%20Shot%202015-08-12%20at%2011.57.

Posted

OK fix it, somehow this file was empty. I delete it and create it again.

~/Library/Application Support/Alfred 2/Workflow Data/zmin.calendar/settings.js
Posted

 

OK fix it, somehow this file was empty. I delete it and create it again.

~/Library/Application Support/Alfred 2/Workflow Data/zmin.calendar/settings.js

 

@lidow Can you tell me the version of your workflow? You can find it under workflow directory. And please tell me if you saw this issue again. 

Posted

I've seen this a couple of times. I'm beginning to think we introduced a bug with the atomic write in AW. Or we didn't solve the problem of workflow's being killed by Alfred.

 

In a versioned workflow like this one, AW should always write the version to settings.json after the workflow completes ("__last_run_version").

Posted (edited)

My machine has SSDs and it has happened to me…

 

I'm thinking AW should probably keep backups of settings.json. Say, the last 10 versions (it's not a large file). This could be  a very hard problem to track down.

 

Perhaps checking that the new file isn't empty would be a good idea.

Edited by deanishe
Posted

Or `Immediately after each character typed` + `Terminate previous script` is just not a good idea? Let's discuss it on the github, I may have some other idea.

Posted

@jTux Those two are not free softwares, let me see if I can develop by trial version.

 

@Ruslanl Because the Alfred workflow can only select one line at a time. Selecting a specific date will increase too much complexity of user interface.

Posted (edited)

You can open a date in BusyCal with busycalevent://date/2015-08-15

There's a bit more info here.

I don't have Fantastical 2, so I can't comment on that.

Edited by deanishe
Posted

I love this idea.

I love to config it and I also love the way how you display a calendar in alfred, pretty creative!

Posted

Works like a charm. Marvellous.

 

FWIW, I've changed the keyword to ".cal" because "cal" shows a bunch of other stuff, too.

 

Also, any chance you'll turn on AW auto updates? I was ever so slightly disappointed that "cal workflow:update" didn't work, and I had to actually click on a link like a plebian ;)

 

I mean, you're already using GH releases and semantic versions…

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...