Home

Awesome

<p align="center" > <img alt="scriptable calendar" src ="./assets/scriptable-calendar-widget.jpg"> </p>

*** iOS 17 cannot grant calendar permission!

There is an issue on iOS 17 that will prevent Scriptable to ask for calendar access if you have never grant calendar permission to Scriptable before iOS 17 upgrade. Instead, it will just show an error complaining no calendar permission. (see offical forums and reddit)

There is no fix or workaround on this issue. We will have to wait for Scriptable to update the app.

Setting Up

Customization

It is recommended to put your settings into another script named calendar-settings.js or in script parameter, so that updating the calendar script will not reset your settings.

The basic syntax of calendar-settings.js could be:

module.exports = {
  // Put the settings you want to customize here
  calFilter: ['Work'],
  locale: 'ja-JP',
  startWeekOnSunday: true,
  showEventLocation: true,
  theme: {
    // See below section
  }
}

You can write anything in the settings script as long as the script is exporting an object.

Available Settings

Theme Settings

You can customize the color settings of the widget. To get started, choose one of the light or dark theme and override the theme base on it: (See Customization if you don't know how to change settings)

module.exports = {
  // ...your other settings
  calFilter: ['Work'],
  locale: 'ja-JP',
  ...
  // Customize the theme
  theme: {
    backgroundImage: 'my-image.jpg',
    todayTextColor: '#ff6600',
    textColorPrevNextMonth: '#0000ff',
    // You can choose change some settings only, or change everything
  }
}

Small Widgets

The script also supports small widgets in which case the widget parameter (long press on the widget -> edit widget -> parameter) should be set to something like:

Where "events" specifies the events view and "cal" the calendar view. (Setting the background is not necessary).

Large Widgets

The script should detect on its own that it is running in a large widget and will adjust accordingly.

Development