Scan med din iPhone for at installere
Do You Have A URL but you don’t want to type it in… We got you covered use the shortcut Now!
Nyheder
Version 1.0
First release
Hvad den gør
24 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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()
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra thefinders
Du vil måske også kunne lide
Annonce