Mit dem iPhone scannen, um zu installieren
Do You Have A URL but you don’t want to type it in… We got you covered use the shortcut Now!
Neue Funktionen
Version 1.0
First release
Was er macht
24 Aktionen-
Choose from MenuWhat do you have for a URL Today? …
-
Choose from MenuCamera
-
Choose from MenuWhich one For Camera? …
-
Choose from MenuPicture
-
Take Photo
-
Choose from MenuVideo
-
Take Video
-
Extract Text from Image
-
If
-
Open URLs
-
If
-
Show Alert
-
Choose from MenuPhoto
-
Select Photos
-
Extract Text from Image
-
If
-
Show Web Page
-
If
-
Show Alert
-
Ask for InputDo you want to run this again?
-
If
-
Run ShortcutDetract URL From Photo
-
If
-
Stop This Shortcut
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/web'
#include 'actions/media'
#define color darkblue
#define glyph network
const MenuResult = menu "What do you have for a URL Today? {Device['Name']}" {
item "Camera":
menu "Which one For Camera? {Device['Name']}" {
item "Picture":
takePhoto(1, true)
item "Video":
takeVideo()
}
const TextFromImage = extractImageText(MenuResult)
if TextFromImage {
openURL(TextFromImage)
} else {
confirm("{TextFromImage} cannot be found to show. Unfortunately we're can't take you there.")
}
item "Photo":
const Photos = selectPhotos()
const TextFromImage1 = getTextFromImage(Photos)
if TextFromImage1 {
showWebpage(TextFromImage1)
} else {
confirm("{TextFromImage1} cannot be found to show. Unfortunately we're can't take you there.")
}
}
const ProvidedInput = prompt("Do you want to run this again?")
if ProvidedInput beginsWith "Y" {
runSelf(ProvidedInput)
} else {
stop()
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von thefinders
Das gefällt dir vielleicht auch
Werbung