ShareShortcuts

iTerminal

A Terminal for iOS And iPadOS

densecut
Fork “iTerminal”

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 densecut 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
50K
Saved
2
Actions
29
Category
API
Version
2.0
Language
EN

A Terminal for iOS And iPadOS

What's New

Version 2.0

Exit Message

Version History
2.0 Jun 28, 2021

Exit Message

1.0 Jun 28, 2021

First release

What it does

29 actions
  1. Ask for Input
  2. If
  3. Open App
  4. If
  5. If
  6. Text
  7. Show Result
  8. Run Shortcut
    iTerminal
  9. If
  10. If
  11. Get My Shortcuts
  12. Choose from List
  13. Set Variable
    Shortcut
  14. Run Shortcut
  15. If
  16. If
  17. Open App
  18. If
  19. If
  20. Open App
  21. If
  22. If
  23. Launch Remote
    com.apple.TVRemoteUIService
  24. If
  25. If
  26. Text
  27. Set Variable
    Exit Message
  28. Show Notification
    …
  29. If

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/shortcuts'
#define color green
#define glyph wrench

const EntradaProporcionada = prompt("")

if EntradaProporcionada contains "iExplorer" {
	openApp("com.apple.DocumentsApp")
} else {
	if EntradaProporcionada contains "help" {
		show()
		runSelf()
	} else {
		if EntradaProporcionada contains "Shortcut" {
			const MisAtajos = getShortcuts()
			chooseFromList(MisAtajos)
			@Shortcut
			runSelf()
		} else {
			if EntradaProporcionada contains "iConfig" {
				openApp("com.apple.Preferences")
			} else {
				if EntradaProporcionada contains "Safari" {
					openApp("com.apple.mobilesafari")
				} else {
					if EntradaProporcionada contains "tvOS" {
						rawAction("com.apple.TVRemoteUIService.LaunchRemoteIntent", {
							"device": "Ask"
						})
					} else {
						if EntradaProporcionada contains "exit" {
							@ExitMessage = "Bye!"
							showNotification(@ExitMessage, @ExitMessage)
						} else {
						}
					}
				}
			}
		}
	}
}
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

You Might Also Like

See All
Advertisement