Отсканируй на iPhone, чтобы установить
Helps you pronoun words Needs the WifiAccess shortcut made by me.
Что нового
Версия 1.1
Added start up customization for the number of times the shortcut repeats the word
Что делает
Действий: 36-
Text
-
Set VariableBackUpValue
-
If
-
Copy to Clipboard
-
Set Volume
-
Get Clipboard
-
If
-
Show NotificationNothing on the clipboard
-
Stop This Shortcut
-
Get My Shortcuts
-
If
-
Run ShortcutWifiAccess
-
Set VariableWifiAccess
-
If
-
Number
-
Set VariableWifiAccess
-
Get Clipboard
-
Change Case
-
Set VariableClipBoard_Value
-
Repeat
-
Speak Text
-
If
-
Ask for InputDo you want to try?
-
If
-
Dictate Text
-
Set VariableDictatedText
-
Change Case
-
If
-
Show Alert
-
If
-
Show Alert
-
Ask for InputDo you want to try again?
-
If
-
Run ShortcutPronouncer
-
Show Alert
-
Show Definition
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/text'
#include 'actions/shortcuts'
#include 'actions/sharing'
#define color blue
#define glyph ear
const Text = ""
@BackUpValue = Text
if @BackUpValue {
setClipboard(Text)
}
setVolume(nil)
const Clipboard = getClipboard()
if !Clipboard {
showNotification("Nothing on the clipboard", true, Clipboard)
stop()
}
const MyShortcuts = getShortcuts()
if MyShortcuts['Name'] contains "WifiAccess" {
run("WifiAccess", nil)
@WifiAccess
} else {
@WifiAccess = 500
}
const Clipboard1 = getClipboard()
uppercase(Clipboard1)
@ClipBoard_Value
repeat _ for 4 {
speak(@ClipBoard_Value)
}
if @WifiAccess == 200 {
const ProvidedInput = prompt("Do you want to try?")
if ProvidedInput == "Yes" {
listen("After Short Pause")
@DictatedText
const UpdatedText = uppercase(@DictatedText)
if UpdatedText == @ClipBoard_Value {
confirm("Good Job!")
} else {
confirm("Try again! ")
const ProvidedInput1 = prompt("Do you want to try again?")
if ProvidedInput1 == "Yes" {
runSelf()
}
}
}
}
confirm("Do you want a definition?")
define(@ClipBoard_Value)
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от shortgram
Вам также может понравиться
Реклама