ShareShortcuts

Type to Siri

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

coolm
Fazer fork de “Type to Siri”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que coolm receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
21K
Salvo
0
Ações
44
Categoria
Utilities
Versão
1.0
Idioma
EN

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

Novidades

Versão 1.0

First release

Histórico de versões
1.0 18 de set de 2024

First release

O que ele faz

44 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de coolm

Ver tudo

Você também pode gostar

Ver tudo
Publicidade