RoutineHub Version History Viewer
Add this to your shortcut and users can automatically see your shortcuts version history!
procreationsОтсканируй на iPhone, чтобы установить
Add this to your shortcut and users can automatically see your shortcuts version history!
Here’s a YouTube video on how to add it to your shortcuts-
ONLY WORKS ON ROUTINEHUB
Что нового
Версия 1.0
First release
Что делает
Действий: 15-
Text
-
If
-
URLhttps://routinehub.co/shortcut/…/changelog
-
Open URLs
-
Append to Text File
-
If
-
Choose from MenuWhat do you want to do?
-
Choose from MenuSee a shortcuts version history with a RoutineHub ID
-
Ask for InputWhat’s the ID of the shortcut?
-
Text
-
Open URLs
-
Append to Text File
-
Choose from MenuView history of the shortcuts you have looked up!
-
Text
-
Search Filecom.apple.DocumentsApp
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#define color darkblue
#define glyph circledUpArrow
const Text = "{ShortcutInput}"
if Text {
const URL = url("https://routinehub.co/shortcut/{Text}/changelog")
openURL(URL)
appendToFile("HistoryOfHistoryViewer.txt", URL)
} else {
menu "What do you want to do?" {
item "See a shortcuts version history with a RoutineHub ID":
prompt("What’s the ID of the shortcut?", "Number")
const Text1 = "https://routinehub.co/shortcut/{}/changelog"
openURL(Text1)
appendToFile("HistoryOfHistoryViewer.txt", Text1)
item "View history of the shortcuts you have looked up!":
rawAction("com.apple.DocumentsApp.SearchFile", {
"AppIntentDescriptor": "",
"searchPhrase": "{}"
})
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от procreations
Вам также может понравиться
Реклама