Отсканируй на iPhone, чтобы установить
This is a very early DEMO like it not even in alpha yet and I haven’t even finish the code for it but a better DEMO soon
Ever wanted to type your shortcut in text instead of blocks well now you can
Что нового
Версия 1.0
First release
Что делает
Действий: 22-
Text
-
Split Text
-
List
-
Count
-
If
-
Get Item from List
-
If
-
Replace Text
-
Replace Text
-
Text
-
If
-
If
-
Get Item from List
-
Repeat with Each
-
If
-
Get Item from List
-
If
-
Replace Text
-
Replace Text
-
Text
-
If
-
If
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/text'
#define color darkgray
#define glyph keyboard
const Text = "Text Put your text here"
splitText(Text)
const List = list()
const Count = count(List, "Lines")
if Count > 0 {
const ItemFromList = getListItems(List, 0)
if ItemFromList beginsWith "Text" {
replaceText("Text", "", ItemFromList, false, true)
replaceText(" ", "", false, true)
} else {
}
} else {
}
const ItemFromList1 = getListItems(List, 2)
for _ in ItemFromList1 {
if Count > 1 {
const ItemFromList2 = getListItems(List, 2, 2)
if ItemFromList2 == "Text" {
replaceText("Text", "", ItemFromList2, false, true)
replaceText(" ", "", false, true)
} else {
}
} else {
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от coltensus
Вам также может понравиться
Реклама