ShareShortcuts

Type to Siri

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

coolm
Fork “Type to Siri”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så coolm får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
21K
Gemt
0
Handlinger
44
Kategori
Værktøjer
Version
1.0
Sprog
EN

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

Nyheder

Version 1.0

First release

Versionshistorik
1.0 18. sep. 2024

First release

Hvad den gør

44 handlinger
  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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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
Å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 coolm

Se alle

Du vil måske også kunne lide

Se alle
Annonce