App Store Region
This shortcut can switch the regions of the App Store and move them to sharecuts.cn
1m99Отсканируй на iPhone, чтобы установить
This shortcut can switch the regions of the App Store and move them to sharecuts.cn
Что нового
Версия 1.0
First release
Что делает
Действий: 16-
CommentApp Store Region Switcher by Neurogram - Support 155 regions - Support customizable regions - Support Emoji displaying - Support language setting (cn, en)
-
List
-
Dictionary
-
Repeat
-
Combine Text
-
Text
-
URLdata:text/html;charset=utf-8,<script>…</script>
-
Gettypeaction
-
Get Text from Input
-
If
-
Get Dictionary from Input
-
Choose from List
-
Set Variableregion
-
If
-
Open URLs
-
Stop and Output
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define color darkblue
#define glyph circledA
/*
App Store Region Switcher by Neurogram
- Support 155 regions
- Support customizable regions
- Support Emoji displaying
- Support language setting (cn, en)
*/
const List = list("CN", "HK", "JP", "KR", "US")
repeat _ for 2 {
joinText(List, "\n")
const URL = url("data:text/html;charset=utf-8,<script>{}</script>")
rawAction("is.workflow.actions.gettypeaction", {
"WFFileType": "com.apple.webarchive",
"WFInput": "URL"
})
const Text = getText(FileOfType)
if @RepeatIndex == 1 {
const Dictionary = getDictionary(Text)
chooseFromList(Dictionary)
@region
} else {
openURL(Text)
}
}
output()
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Вам также может понравиться
Реклама