Scan with your iPhone to install
Preview
Usage: - Detect language by entering a word or from safari.
What's New
Version 1.0
First release
What it does
17 actions-
CommentAuthor: Ari R. Abdulla Usage: - Detect language by entering a word or from safari.
-
If
-
Set VariableText
-
If
-
If
-
Choose from Menu
-
Choose from MenuClipboard
-
Get Clipboard
-
Set VariableText
-
Choose from MenuEnter Text
-
Ask for InputEnter some text...
-
Set VariableText
-
If
-
Ask for InputEnter some text...
-
Set VariableText
-
Detect Language
-
Show Result
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/translation'
#include 'actions/sharing'
#define color red
#define glyph textSymbol
/*
Author: Ari R. Abdulla
Usage:
- Detect language by entering a word or from safari.
*/
if ShortcutInput {
@Text = ShortcutInput
} else {
if {
menu nil {
item "Clipboard":
getClipboard()
@Text
item "Enter Text":
prompt("Enter some text...")
@Text
}
} else {
prompt("Enter some text...")
@Text
}
}
detectLanguage(@Text)
show()
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by arirafiq
You Might Also Like
Advertisement