URL方案

2018-10-26  本文已影响0人  StaySorted

我如何学会热爱自动化

热爱自动化?这篇简短的文章将介绍 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³ 让您在简洁美丽的时间轴内计划您的行程、任务和富文本笔记,并已于2018年8月在应用程式商店上架。

感谢阅读此文章!如你喜欢这一篇,可能也会对以下文章感兴趣:

为何计划事项? - 简书

轻松计划 - 简书

点赞支持,让更多人发掘这篇文章!

去推特打个招呼或到应用程式商店下载Sorted³

Sorted³ — 计划行程、任务、笔记

索引

上一篇下一篇

猜你喜欢

热点阅读