ShareShortcuts

Detract URL From Photo

thefinders
Fork “Detract URL From Photo”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so thefinders gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
36K
Saved
2
Actions
24
Category
Social Network
Version
1.0
Language
EN

Do You Have A URL but you don’t want to type it in… We got you covered use the shortcut Now!

What's New

Version 1.0

First release

Version History
1.0 Jan 8, 2023

First release

What it does

24 actions
  1. Choose from Menu
    What do you have for a URL Today? …
  2. Choose from Menu
    Camera
  3. Choose from Menu
    Which one For Camera? …
  4. Choose from Menu
    Picture
  5. Take Photo
  6. Choose from Menu
    Video
  7. Take Video
  8. Extract Text from Image
  9. If
  10. Open URLs
  11. If
  12. Show Alert
  13. Choose from Menu
    Photo
  14. Select Photos
  15. Extract Text from Image
  16. If
  17. Show Web Page
  18. If
  19. Show Alert
  20. Ask for Input
    Do you want to run this again?
  21. If
  22. Run Shortcut
    Detract URL From Photo
  23. If
  24. Stop This Shortcut

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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()
}
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 thefinders

See All

You Might Also Like

See All
Advertisement