URL方案

我如何學會熱愛自動化

Sorted
2 min readFeb 19, 2019

熱愛自動化?這篇簡短的文章將介紹 Sorted³ 的URL方案,以便您可以使用捷徑(前稱Workflow)等應用程序自動化操作。

請更新 Sorted³至v3.1或更新版本。

Open

sorted://x-callback-url/open?item=today
Item values: today, inbox, new, search

sorted://x-callback-url/open?date=2018–07–20
Item values:
date: in yyyy-MM-dd format.
casual date: today, tomorrow, yesterday.

sorted://x-callback-url/open?parameters
Parameters:
date: ‘offset’.
offset: Number of days from today.

sorted://x-callback-url/open?parameters
Parameters:
date: ‘weekday’.
weekday: Number code for Next Weekday. Sunday is `1`, Monday is `2`, etc.

sorted://x-callback-url/open?parameters
Parameters:
list: title of the list.
filterByTags: A list of tag titles separated by comma.

sorted://x-callback-url/open?parameters
Parameters:
tag: title of the tag.
filterByTags: A list of tag titles separated by comma.

sorted://x-callback-url/open?search=Meeting
Parameter:
search: keywords of the items.

Add

sorted://x-callback-url/add?parameters

Parameters:
title (required): Text with space encoded as ‘%20’.
type (optional): ‘task’ or ‘event’. Default to ‘task’.
date (optional): In ‘yyyy-MM-dd’ or ‘yyyy-MM-dd HH:mm’ format.
time (optional): At time in ‘HH:mm’ format. If ‘date’ is given, this will be ignored.
duration (optional): Duration of item in minutes, also used to calculate end date for event.
earlyAlert (optional): Early Alert of item in minutes. Set to ‘none’ for No Alert.

Task Only:
list (optional): Name of the list.
tags (optional): A list of tag titles separated by comma.
lock (optional): Whether task is locked or not. Default to unlocked.
completionDate (optional): In ‘yyyy-MM-dd’ or ‘yyyy-MM-dd HH:mm’ format.

Event Only:
calendar (optional): Name of the calendar.
location (optional): Location in text.

--

--

Sorted

Schedule Events, Tasks, and Notes into a beautiful timeline.