Отсканируй на iPhone, чтобы установить
Просмотр
This shortcut gets your points for that round and your word. Then add your points up. Then takes your points for that round and your word and adds them to a note on notes.
There is another shortcut that you need. The link to that one is in the comments and here:
https://shareshortcuts.com/shortcuts/990-scrabble-parttwo.html
this is now the front-end
Что нового
Версия 3.1
The shortcut will no longer open the shortcut app when you run the shortcut
Что делает
Действий: 19-
CommentMade by shortgram Link to the other part of this shortcut: https://shareshortcuts.com/shortcuts/990-scrabble-parttwo.html
-
Get File
-
Set VariableFile
-
Text
-
Set VariableyourName
-
Show Alert
-
Ask for InputYour points
-
Set VariableyourPoint
-
Ask for InputYour word
-
Set VariableyourWord
-
If
-
Quick Look
-
Run ShortcutScrabble partOne
-
If
-
If
-
Stop This Shortcut
-
Dictionary
-
Set VariablePOST_DATA
-
Run ShortcutScrabble partTwo
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define color yellow
#define glyph boxFilled
/*
Made by shortgram
Link to the other part of this shortcut:
https://shareshortcuts.com/shortcuts/990-scrabble-parttwo.html
*/
getFileFromFolder(, "history.txt")
@File
@yourName = "Donavon"
alert("TYPE IN '@end' IF YOU WANT TO QUIT AND IF YOU WANT TO SEE YOUR HISTORY '@history' WHEN I ASK YOU FOR YOUR WORD", "")
prompt("Your points", "Number")
@yourPoint
prompt("Your word")
@yourWord
if @yourWord contains "@history" {
quicklook(@File)
runSelf()
} else {
if @yourWord contains "@end" {
stop()
}
@POST_DATA = {
"yourName": "{@yourName}",
"yourPoint": "{@yourPoint}",
"yourWord": "{@yourWord}"
}
runSelf(@POST_DATA)
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от shortgram
Вам также может понравиться
Реклама