Просмотр
Paste to Jar Shortcut
Transfer a set number of items from Paste to Data Jar.
PastetoJar
Requirements
This shortcut will transfer a set number of items from Paste to a Data Jar of your specification. You will also be asked to specify the default number of items upon installation.
It should function on both macOS and iOS.
Contact
Что нового
Версия 1.0
First release
Что делает
Действий: 10-
CommentTransfer a set number of items from Paste to Data Jar. My contact information: Email: [email protected] Contact card: bit.ly/whoisdavidblue RoutineHub Profile: https://routinehub.co/user/blue GitHub: https://github.com/extratone/i Telegram: t.…
-
Number
-
Set Variableindex
-
Ask for InputNumber of items to transfer.
-
Repeat
-
Get Variable
-
Calculate
-
Set Variableindex
-
Get Item At Indexcom.wiheads.paste
-
Insert Value In Arraydk.simonbs.DataJar
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define color darkorange
#define glyph chainlink
/*
Transfer a set number of items from Paste to Data Jar.
My contact information:
Email: [email protected]
Contact card: bit.ly/whoisdavidblue
RoutineHub Profile: https://routinehub.co/user/blue
GitHub: https://github.com/extratone/i
Telegram: t.me/extratone
Twitter: twitter.com/NeoYokel
Reddit: reddit.com/u/asphaltapostle
Mastodon: mastodon.social/@DavidBlue
EVERYWHERE: bit.ly/dbrolodex
*/
@index = 0
const ProvidedInput = prompt("Number of items to transfer.", "Number")
repeat _ for ProvidedInput {
// TODO: Get Variable not supported: Assign variable here to '@index'.
@index = @index + 1
rawAction("com.wiheads.paste.GetItemAtIndexIntent", {
"index": "@index",
"pinboard": ""
})
rawAction("dk.simonbs.DataJar.InsertValueInArrayIntent", {
"keyPath": "paste",
"valueConversionMode": "automatic",
"values": "Content"
})
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от blue
Вам также может понравиться
Реклама