ShareShortcuts

Type to Siri

Type to Siri is a shortcut that lets you type to Siri!

coolm
Fork “Type to Siri”

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 coolm 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
21K
Saved
0
Actions
44
Category
Utilities
Version
1.0
Language
EN

Type to Siri is a shortcut that lets you type to Siri!

What's New

Version 1.0

First release

Version History
1.0 Sep 18, 2024

First release

What it does

44 actions
  1. Comment
    Made by CoolM
  2. Get Current Weather
  3. Text
  4. Set Variable
    Name
  5. Text
  6. Set Variable
    Location
  7. Ask for Input
  8. If
  9. Send Message
  10. Stop This Shortcut
  11. If
  12. If
  13. Play/Pause
  14. Stop This Shortcut
  15. If
  16. If
  17. Play/Pause
  18. Stop This Shortcut
  19. If
  20. If
  21. Choose from Menu
    Forward or backwards
  22. Choose from Menu
    Forward
  23. Skip Forward
  24. Choose from Menu
    Backwards
  25. Skip Back
  26. If
  27. If
  28. Call
  29. If
  30. If
  31. Search Web
  32. If
  33. If
  34. Get Current Location
  35. Show Alert
  36. Stop This Shortcut
  37. If
  38. Change Case
  39. Text
  40. Get Dictionary Value
  41. Speak Text
  42. Show Result
  43. Run Shortcut
    Type to Siri
  44. Comment
    Made by CoolM

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/sharing'
#include 'actions/location'
#define color pink
#define glyph doubleQuote

// Made by CoolM

getCurrentWeather()
@Name = ""
@Location = ""
const AskForInput = prompt("")

if AskForInput == "Send a message" || AskForInput == "Send text message" {
	sendMessage(Ask, Ask)
	stop()
} else {
	if AskForInput == "Pause" || AskForInput == "Pause current music" || AskForInput == "Stop playing music" {
		play()
		stop()
	} else {
		if AskForInput == "Play" || AskForInput == "Play current music" || AskForInput == "Play the music" {
			play()
			stop()
		} else {
			if AskForInput == "Skip" || AskForInput == "Skip current music" || AskForInput == "Skip the music" {
				menu "Forward or backwards" {
				item "Forward":
					skipFwd()
				item "Backwards":
					skipBack()
				}
			} else {
				if AskForInput == "Call" {
					call(Ask)
				} else {
					if AskForInput == "Search the web" || AskForInput == "Search" || AskForInput == "Search the internet" {
						searchWeb("", Ask)
					} else {
						if AskForInput == "Show my current location" || AskForInput == "Current location" || AskForInput == "Show my location" {
							getCurrentLocation()
							confirm()
							stop()
						} else {
						}
					}
				}
			}
		}
	}
}
uppercase(AskForInput)
const Text = "{\n\\"hi\\": \\"Hello {@Name}. How can I help?\\",\n\n\\"hello\\": \\"Hello {@Name}. How can I help?\\",\n\n\\"what is the weather today\\": \\"{}\\",\n\n\\"what’s the weather for today\\": \\" {}\\",\n\n\\"what’s the weather\\": \\"{}\\",\n\n\\"what’s the weather in {@Location}\\": \\"{}\\",\n\n\\"alexa\\": \\"Not exactly. My name is Siri\\",\n\n\\"i prefer samsung over apple\\": \\"Im probably won't respond to that question\\",\n\n\\"oh no\\": \\"What happened?\\",\n\n\\"{}\\": \\"Sorry, something went wrong Please try again!\\",\n}"
const DictionaryValue = getValue(Text)
speak(DictionaryValue, false, "en-US")
show("{DictionaryValue}\n\n\n")
runSelf(DictionaryValue)
// Made by CoolM
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 coolm

See All

You Might Also Like

See All
Advertisement